aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-22wrote more of the compressor and added some testsMihai Bazon
2012-08-22fix output for certain edge casesMihai Bazon
the statements if, for, do, while and with might have an AST_EmptyStatement as body; if that's the case, we need to make sure that the semicolon gets in the output.
2012-08-22declare some properties in the node constructor so that they're copied in cloneMihai Bazon
2012-08-21hint that brackets may be required in AST_BlockStatementMihai Bazon
2012-08-21cleaned up some mess and started the actual compressorMihai Bazon
2012-08-21some reorganizationMihai Bazon
(moved pretty much everything that relates to scope in scope.js, added a module for NodeJS that can be used with require() and exports everything.)
2012-08-21handle labels properlyMihai Bazon
(they can't be handled the same way as variables in a scope)
2012-08-21warn about unreferenced symbolsMihai Bazon
2012-08-21more fixes:Mihai Bazon
- added walker for AST_ObjectProperty - handle redefinitions properly (only mangle one symbol, make them all point to a single definition) DynarchLIB seems to run fine after mangling + compressed output.
2012-08-20added mangler and other stuffMihai Bazon
2012-08-20doc (WIP)Mihai Bazon
2012-08-19simple visitor API and code to figure out scope and referencesMihai Bazon
2012-08-18some fixes (need testing) in AST_If codegenMihai Bazon
2012-08-17minor whitespace issuesMihai Bazon
2012-08-17big speed improvement (observable when beautify = false)Mihai Bazon
who would have thought that str.charAt(str.length - 1) is not a constant, instant operation? seems to get slower and slower as the string grows. 0.6s vs. 3s
2012-08-17don't output both space and semicolon when beautify=falseMihai Bazon
2012-08-17added some comments about the rules governing parensMihai Bazon
2012-08-17fix one more glitchMihai Bazon
2012-08-17code generator finally seems to work properlyMihai Bazon
2012-08-16lots'o'fixes in the output routines; still a looong way to go.Mihai Bazon
2012-08-16codegen and dropped the useless walkerMihai Bazon
2012-08-15WIPMihai Bazon
2012-06-03WIPMihai Bazon
2012-05-27added small node test scriptMihai Bazon
2012-05-27Fixes some gotchas.Mihai Bazon
DynarchLIB (660K) now passes parsing in 440ms (about 30% slower than the parser in UglifyJS v1).
2012-05-27init repoMihai Bazon