In the #Python Discord, someone was trying to understand how Python code is exec...
Ned Batchelder @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.
https://nedbatchelder.com/blog/202608/micro_language_implementation_calcium