Github
A stack based, bytecode virtual machine for a dynamically typed, garbage collected, object-oriented programming language.
Lox has all the features you might expect: loops, functions, closures, classes, and inheritance.
Written in C++ and compiled to web assembly for this demo.
This is based on the book Crafting Interpreters.