Memphis

Memphis is a ridiculous Python interpreter written from scratch in Rust. It’s both a personal learning tool and a long-term technical experiment. It supports multiple execution modes, including a mostly working treewalk interpreter and an in-progress bytecode virtual machine.

Around Memphis is a small set of companion tools—most notably Ozark, an interactive bytecode compiler—that support experimentation, debugging, and learning across the interpreter stack.

It can run some code but probably not your code. If you're curious about how interpreters and compilers actually work, I hope this project offers a useful (and occasionally silly) resource.

Try Ozark, the interactive bytecode compiler

Recent Updates