In the #Python Discord, someone was trying to understand how Python code is exec...

@nedbat@hachyderm.io

In the #Python Discord, someone was trying to understand how Python code is executed without ever being turned into native CPU instructions. So I wrote a full implementation of a tiny programming language: compiled to bytecodes that get interpreted. 300 lines of Python.
nedbatchelder.com/blog/202608/