Very cool. What resources did you use to learn how to write the compiler? The "turn code into ASM" step has always mystified me, and I'd like to learn more about how that part of the process works.
- General compiler design - This was one of the main ressources. https://www.tutorialspoint.com/compiler_design/compiler_desi...
- https://www.lua.org/manual/5.3/manual.html#9
- Linux system call table: http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x...
- A bit on floating point: https://cs.fit.edu/~mmahoney/cse3101/float.html
- Assembly https://www.cs.yale.edu/flint/cs421/papers/x86-asm/asm.html
- More assembly: https://www.complang.tuwien.ac.at/ubvl/amd64/amd64h.html