I'm looking for small VMs like this to run sandboxed experiments and test just-in-time (JIT) compilers so that I can explore things like converting abstract syntax trees (AST) between languages and prefix/infix/postfix notation, if anyone has any favorites.
Bonus points for supporting advanced concepts like atomic operations for concurrency.
https://www.andreinc.net/2021/12/01/writing-a-simple-vm-in-l...
Discussion:
https://news.ycombinator.com/item?id=29492183
I'm looking for small VMs like this to run sandboxed experiments and test just-in-time (JIT) compilers so that I can explore things like converting abstract syntax trees (AST) between languages and prefix/infix/postfix notation, if anyone has any favorites.
Bonus points for supporting advanced concepts like atomic operations for concurrency.