Skip to content

A semantically simple interpreter for a core subset of Python3

Notifications You must be signed in to change notification settings

PraneethJain/simplipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpliPy (WIP)

SimpliPy is a simple Python interpreter modelled as a transition system.

The main goals of this interpreter are:

  • Cover a core subset of the language, including most control flow constructs and Python’s rich scoping.
  • Construct precise semantics of this subset, faithful to CPython.
  • Build a better understanding and a mental model of Python.

Note: This project uses RustPython’s parser to generate the AST and only focuses on the semantics.

Non-Goals

  • Cover the full syntax and semantics of Python.
  • Write a highly optimized interpreter.

About

A semantically simple interpreter for a core subset of Python3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages