-
@moonscript I don't want to go with large portions of code inlined as strings so if there's no other way I will split embedded code out into files that can be read in. What do you mean by Syntax transformer? A pre-processing step? or are those a moonscript-compiler feature?
-
@moonscript ah, i suppose I could write my own moonloader that modifies the parse.string tree before passing it on to compile.tree?
-
@moonscript the transform_extracts / tree walking part is the only really hideous part though. I see there are 'transforms' in the moonscript code, but I can't quite figure them out at the moment, and I also wouldn't know how to monkey-patch a transform in from within non-forked moonscript