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.

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.

How Python works under the hood

One of the goals of Memphis is to make Python’s hidden mechanisms visible. If you’re curious about how Python works under the hood, you can start with one of these.