How to write a very simple JIT compiler