Permalink
Switch branches/tags
Nothing to show
Commits on Aug 29, 2012
Commits on Aug 28, 2012
  1. fix output for arrays containing undefined values

    [1,,2,] ==> [1,,2] instead of [1,undefined,2]
    mishoo committed Aug 28, 2012
  2. fix code generator for this case:

    if (foo) {
      with (bar)
        if (baz)
          x();
    } else y();
    
    (the compressor removes the brackets since the consequent consists of a
    single statement, but the codegen must include the brackets because
    otherwise the `else` would refer to the inner `if`)
    mishoo committed Aug 28, 2012
Commits on Aug 27, 2012
  1. added README

    mishoo committed Aug 27, 2012
  2. minor

    mishoo committed Aug 27, 2012
  3. update (c) years

    mishoo committed Aug 27, 2012
  4. minor

    mishoo committed Aug 27, 2012
Commits on Aug 23, 2012
Commits on Aug 22, 2012
  1. added license

    mishoo committed Aug 22, 2012
  2. fix output for certain edge cases

    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.
    mishoo committed Aug 22, 2012
Commits on Aug 21, 2012
  1. some reorganization

    (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.)
    mishoo committed Aug 21, 2012
  2. handle labels properly

    (they can't be handled the same way as variables in a scope)
    mishoo committed Aug 21, 2012
  3. warn about unreferenced symbols

    mishoo committed Aug 21, 2012
  4. 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.
    mishoo committed Aug 21, 2012
Commits on Aug 20, 2012
  1. added mangler and other stuff

    mishoo committed Aug 20, 2012
Commits on Aug 19, 2012
  1. doc (WIP)

    mishoo committed Aug 19, 2012
Commits on Aug 18, 2012
Commits on Aug 17, 2012
  1. minor whitespace issues

    mishoo committed Aug 17, 2012
  2. 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
    mishoo committed Aug 17, 2012
  3. fix one more glitch

    mishoo committed Aug 17, 2012
Commits on Aug 16, 2012
Commits on Aug 15, 2012
  1. WIP

    mishoo committed Aug 15, 2012