How to write a simple JIT compiler
Eli Bendersky has another great, even simpler introduction (from 2013) to JIT compiling but with hardcoded instructions [0]. And a more recent post on JIT compiling Brainfuck [1].[0] https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-intro...[1] https://eli.thegreenplace.net/2017/adventures-in-jit-compila...