12 Commits

Author SHA1 Message Date
Sebastian McKenzie
7fb023c2b0 move util.generate to File::generate 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
c9f56b838f return vanilla object instead of modifying the recast PrintResult 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
04466e3fea move code generation to new method 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
73b8daf370 add generators support via regenerator 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
3b22cb283b use templates instead of separate declarations logic 2014-10-14 14:58:17 +11:00
Sebastian McKenzie
1f61e7675b add file alias declarations so we can alias certain long function calls - resolves #62 2014-10-14 08:49:53 +11:00
Sebastian McKenzie
9d18905ce9 output shebang in transpiled code - fixes #55 2014-10-13 15:47:22 +11:00
Sebastian McKenzie
453502b4f2 add Transformer class that deals with running a transformer against a File 2014-10-13 14:45:15 +11:00
Sebastian McKenzie
eaf98de962 normalise transformers to improve performance 2014-10-13 14:36:11 +11:00
Sebastian McKenzie
51db2ee136 support shebangs - fixes #55 2014-10-13 11:55:33 +11:00
Sebastian McKenzie
a6ffde6e9b add traversal node aliases to be dry 2014-10-13 05:34:46 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00