This project implements a Python interpreter in Lean 4 using the lambda-py semantics. It uses Racket's lambda-py as a frontend (parser + desugarer) and Lean as the execution backend. Python Source ...
The Annotated Transformer is created using jupytext. Regular notebooks pose problems for source control - cell outputs end up in the repo history and diffs between commits are difficult to examine.