LiveCodeLab's "plasters and stitches" code transformations need to be replaced by a proper parser/code emitter. Here it comes.
npm install -g grunt
npm install
to generate the parser from the grammar:
grunt jison
to generate everything else needed:
grunt