
TinyOCaml to WebAssembly Compiler
I’ve wanted to learn about compilers for a while, but it hasn’t been offered at Cornell since 2023, so I decided to learn on my own by making this small compiler. It was written in TypeScript and compiles a subset of OCaml (which I’ll call TinyOCaml) to WebAssembly (Wasm). Here is the link to the demo. For more details like the exact BNF grammar of the language, check out the GitHub repo. ...