mini icon indicating copy to clipboard operation
mini copied to clipboard

Mini: Interpreter and a programming language implemented in Python

Mini: Interpreter and a programming language implemented in Python

This is the source code from my screencast: How to write an interpreter in Python <http://youtu.be/1h1mM7VwNGo>_.

It uses:

  • parsimonious <https://github.com/erikrose/parsimonious>_ library for parsing using Parsing Expression Grammar (PEG) (See also the original PEG paper <http://pdos.csail.mit.edu/papers/parsing:popl04.pdf>_).

  • py.test <http://pytest.org>_ testing framework. (See also the book Test-Driven Development: By Example <http://books.google.com/books/about/Test_Driven_Development.html?id=gFgnde_vwMAC>_).