My dream is to create an efficient multithreaded runtime that JITs. I came across this article for creating an AST in C and simple machine code generation.
Erlang is multithreaded and JITs for some platforms, if you're not going to true scottsman Erlang JIT because it's not using runtime information. The main goal of Erlang JIT is to eliminate interpretation overhead, rather than any of the deeper analysis goals of some other popular JITs.
https://keleshev.com/abstract-syntax-tree-an-example-in-c/
I am working on codegen for my imaginary assembler and I'm trying to work out how to set compound expressions such as
In assembly.