Byte-run: a Python interpreter written in Python

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 13 12:08:57 EST 2017


On Fri, Jan 13, 2017 at 3:46 AM, Steve D'Aprano
<steve+python at pearwood.info> wrote:
>
> http://aosabook.org/en/500L/a-python-interpreter-written-in-python.html

Neat. But not really surprising IMO that it can fit into 500 lines,
since it doesn't handle compiling Python into bytecode (which is the
hard part) and doesn't include libraries. There doesn't seem to be
much purpose to this other than it being a toy project written for a
book.


More information about the Python-list mailing list