UglifyJS.git
12 years agowarn about unreferenced symbols
Mihai Bazon [Tue, 21 Aug 2012 08:53:19 +0000 (11:53 +0300)]
warn about unreferenced symbols

12 years agomore fixes:
Mihai Bazon [Tue, 21 Aug 2012 08:38:49 +0000 (11:38 +0300)]
more fixes:

- 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.

12 years agoadded mangler and other stuff
Mihai Bazon [Mon, 20 Aug 2012 14:19:30 +0000 (17:19 +0300)]
added mangler and other stuff

12 years agodoc (WIP)
Mihai Bazon [Sun, 19 Aug 2012 19:46:00 +0000 (22:46 +0300)]
doc (WIP)

12 years agosimple visitor API and code to figure out scope and references
Mihai Bazon [Sun, 19 Aug 2012 12:57:50 +0000 (15:57 +0300)]
simple visitor API and code to figure out scope and references

12 years agosome fixes (need testing) in AST_If codegen
Mihai Bazon [Sat, 18 Aug 2012 09:29:57 +0000 (12:29 +0300)]
some fixes (need testing) in AST_If codegen

12 years agominor whitespace issues
Mihai Bazon [Fri, 17 Aug 2012 20:08:09 +0000 (23:08 +0300)]
minor whitespace issues

12 years agobig speed improvement (observable when beautify = false)
Mihai Bazon [Fri, 17 Aug 2012 16:04:23 +0000 (19:04 +0300)]
big speed improvement (observable when beautify = false)

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

12 years agodon't output both space and semicolon when beautify=false
Mihai Bazon [Fri, 17 Aug 2012 15:33:26 +0000 (18:33 +0300)]
don't output both space and semicolon when beautify=false

12 years agoadded some comments about the rules governing parens
Mihai Bazon [Fri, 17 Aug 2012 14:56:16 +0000 (17:56 +0300)]
added some comments about the rules governing parens

12 years agofix one more glitch
Mihai Bazon [Fri, 17 Aug 2012 13:27:43 +0000 (16:27 +0300)]
fix one more glitch

12 years agocode generator finally seems to work properly
Mihai Bazon [Fri, 17 Aug 2012 12:59:42 +0000 (15:59 +0300)]
code generator finally seems to work properly

12 years agolots'o'fixes in the output routines; still a looong way to go.
Mihai Bazon [Thu, 16 Aug 2012 16:54:37 +0000 (19:54 +0300)]
lots'o'fixes in the output routines; still a looong way to go.

12 years agocodegen and dropped the useless walker
Mihai Bazon [Thu, 16 Aug 2012 15:11:04 +0000 (18:11 +0300)]
codegen and dropped the useless walker

12 years agoWIP
Mihai Bazon [Wed, 15 Aug 2012 10:32:37 +0000 (13:32 +0300)]
WIP

12 years agoWIP
Mihai Bazon [Sun, 27 May 2012 14:25:31 +0000 (17:25 +0300)]
WIP

12 years agoadded small node test script
Mihai Bazon [Sun, 27 May 2012 11:36:51 +0000 (14:36 +0300)]
added small node test script

12 years agoFixes some gotchas.
Mihai Bazon [Sun, 27 May 2012 11:36:44 +0000 (14:36 +0300)]
Fixes some gotchas.

DynarchLIB (660K) now passes parsing in 440ms (about 30% slower than the
parser in UglifyJS v1).

12 years agoinit repo
Mihai Bazon [Sun, 27 May 2012 11:09:01 +0000 (14:09 +0300)]
init repo