Python Meta Circular Interpreter
Contents
Uses of a Meta Circular Interpreter
The meta-circular-interpreter base
The semantics class
Modules
Module(stmt* body)
The expressions
Expr(expr value)
The Pythonic data structures.
Constant(constant value, string? kind)
Number(object n)
Containers
List(elts)
Tuple(elts)
Subscript(expr value, slice slice, expr_context ctx)
Attribute(expr value, identifier attr, expr_context ctx)
Simple control flow statements
Implementation
Major control flow statements
While(expr test, stmt* body, stmt*...
Read more at rahul.gopinath.org