Age | Commit message (Expand) | Author |
---|---|---|
2012-09-14 | more optimizations that v1 does and some cleanups...- a = a + x ==> a+=x - joining consecutive var statements (hoisting is not always desirable) - x == false ==> x == 0, x != true ==> x != 1 - x, x ==> x; x = exp(), x ==> x = exp() - discarding useless break-s | Mihai Bazon |
2012-09-13 | added -m and -c options | Mihai Bazon |
2012-09-11 | minor | Mihai Bazon |
2012-09-11 | fixed some mess with symbols/scope...- all symbols now have a `thedef` property which is a SymbolDef object, instead of the `uniq` that we had before (pointing to the first occurrence of the name as declaration). - for undeclared symbols we still create a SymbolDef object in the toplevel scope but mark it "undeclared" - we can now call figure_out_scope after squeezing, which is useful in order not to mangle names that were dropped by the squeezer | Mihai Bazon |
2012-09-11 | checkpoint...- discard statements with no side effects (unsafe? could be) - safer hoist_vars (needs some revamping of scope/mangling) | Mihai Bazon |
2012-09-10 | hoist_vars is pretty bad, it seems. cancelled it for now. | Mihai Bazon |
2012-09-10 | adaptive base54 digits depending on char frequency (WIP) | Mihai Bazon |
2012-09-10 | fix "file" in the source map | Mihai Bazon |
2012-09-05 | declared `--stats` as boolean | Mihai Bazon |
2012-09-03 | minor | Mihai Bazon |
2012-09-03 | declare boolean options | Mihai Bazon |
2012-09-03 | add -b | Mihai Bazon |
2012-09-02 | add source mappings for more node types; started CLI utility | Mihai Bazon |