Meta? You want meta? Try byterun [1], a full Python bytecode executor written in Python...<p>[1] <a href="https://github.com/nedbat/byterun" rel="nofollow">https://github.com/nedbat/byterun</a>
We had to write a scheme like language interpreter in scheme in grad school. I found it very meta, but interesting.<p>Northeastern Prof Wand taught the class, a quick google reveals it was 3 book versions ago. Still teaching in Scheme though the book is 2009 (Racket).<p><a href="http://www.eopl3.com" rel="nofollow">http://www.eopl3.com</a><p>And the git source from the book (more useful with the book though...):
<a href="https://github.com/mwand/eopl3" rel="nofollow">https://github.com/mwand/eopl3</a>
Thanks so much for posting this, you've inspired me to try my hand at writing a similar parser. I'll definitely be using your code as reference as I go!