Source-to-Source JavaScript Compiler in OMeta/JS

This page "autoexecs" the example from the OMeta/JS demo page that adds support for method declarations to the SqueakParser, then defines a multi-stage OMeta/JS compiler. To make it go, select all of the code below and press the "do it" button, then try the examples at the end of the page.




Translation
Transcript