Compiler in JavaScript

For a college course on compilers I used JavaScript to implement a compiler for a custom grammar into machine code. See it here.