JIT compiling a subset of Python to x86-64
https://csl.name/post/python-compiler/ [csl.name]
2017-11-17 23:34
We will restrict ourselves to compiling branchless functions that operate on integer arithmetic. Our strategy is to translate Python bytecode to an intermediate representation, which will then be optimized before being emitted as x86-64 machine code. So the first part will be to understand how the bytecode works.
source: L