Back to results

University of Illinois at Urbana-Champaign

A formal semantics of Python 3.3

Abstract

dc:description

This thesis demonstrates the ability to formalize the operational semantics of complex programming languages in the K Semantic Framework, which provides an interpreter as well as analysis tools for exploring the state space of programs and performing static reasoning about programs. This is demonstrated by means of a partial semantics for the latest version of the popular Python programming language. With additional effort, this semantics will allow users to reason about Python programs, including sources of nondeterminism in the Python language specification, and formal reasoning about their behavior. While the semantics is incomplete, it is executable and has been thoroughly tested against a number of unit tests, and will be demonstrated to perform as well as the reference implementation of Python, CPython, on those features which have been completed. On these features, it also performs as well as or better than other comparable operational semantics of Python.

Degree

thesis:*
Name thesis:degree_name
M.S.
Level thesis:degree_level
Thesis
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Illinois at Urbana-Champaign
Year dc:date
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Guth, Dwight
Contributors dc:contributor
  • Rosu, Grigore

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • Copyright 2013 Dwight Guth
Language dc:language
en

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2142/45275
OAI identifier oai:identifier
oai:www.ideals.illinois.edu:2142/45275

Chain of custody

source
Harvested from
University of Illinois - Urbana-Champaign
Base URL
www.ideals.illinois.edu/oai-pmh
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Guth, Dwight. A formal semantics of Python 3.3. Thesis thesis, University of Illinois at Urbana-Champaign, 2013. http://hdl.handle.net/2142/45275