Permalink
Commits on Jun 7, 2017
  1. Version 0.6.0.10

    committed Jun 7, 2017
Commits on Jun 5, 2017
  1. Lexer: Improve escape handling

    The lexer was rejecting valid non-escape sequences like "\/".
    
    Closes: #60
    committed Jun 5, 2017
  2. Rearrange directories

    committed Jun 5, 2017
  3. Remove StringEscape

    This file was a hold over from when this project was originally
    based on the code base for Language.Python. The code still mentions
    Python and isn't used anywhere else in the code base.
    
    Closes: #61
    committed Jun 4, 2017
Commits on Dec 15, 2016
  1. Fix two compiler warning

    committed Dec 15, 2016
Commits on Nov 6, 2016
  1. Version 0.6.0.9

    committed Nov 6, 2016
  2. Minify: Simplify fix for performance issue

    As pointed out by Github user @paul-rouse, the performance issue was
    not due to the unbalanced tree, but rather a recursion which was
    occurring more than once.
    committed Nov 6, 2016
  3. Minify: Fix a performance issue

    Github user @paul-rouse reported a performance issue minifying
    expressions like:
    
       var y='a'+1+'a'+1+......+'a'+1;
    
    which seems to have a runtime of 4^n where n is the number of values
    summed together.
    
    A large part of the problem was that the parser for the above expression
    generates a degenerate binary tree. The solution was to balance the tree
    just before minification. It might have been nicer to do this in the
    parser, but then managing the annotations needed for round tripping
    would have been more difficult.
    
    Closes: #58
    committed Nov 6, 2016
  4. AST: Add function binOpEq

    Can use the derived Eq instance because that contains an position
    annotation.
    committed Nov 6, 2016
  5. Update .gitignore

    committed Nov 6, 2016
Commits on Nov 5, 2016
Commits on Nov 4, 2016
  1. Lexer.x: Drop insertion of NoComment

    Having a list `[NoComment]` contains no more information than `[]`
    so just use the latter.
    committed Nov 4, 2016
Commits on Aug 25, 2016
Commits on Aug 2, 2016
  1. Update .travis.yml

    Use latest alex and happy.
    committed Aug 2, 2016
Commits on Jul 21, 2016
  1. .travis.yml: Fix cabal version

    committed Jul 21, 2016
  2. Version 0.6.0.8

    committed Jul 21, 2016
  3. Update .travis.yml

    Add ghc 8.0.1, switch from ghc 7.10.2 to ghc 7.10.3 and use cabal-1.24
    (required by ghc 8.0.1).
    committed Jul 21, 2016
Commits on Jun 17, 2016
  1. Version 0.6.0.7

    committed Jun 17, 2016
  2. Fix some string escaping issues

    Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
    fgaray committed with Jun 17, 2016
Commits on Jun 15, 2016
  1. Version 0.6.0.6

    committed Jun 15, 2016
  2. Fixed show stripped for JSMethodCall

    Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
    adrianherrera committed with Jun 14, 2016
Commits on May 30, 2016
  1. Version 0.6.0.5

    committed May 30, 2016
  2. Fix another string escaping issue

    Closes: #53
    committed May 30, 2016
Commits on May 29, 2016
Commits on Mar 27, 2016
  1. Version 0.6.0.4

    committed Mar 27, 2016
  2. Tests + fixes for missing string escapes.

    Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
    Closes: #49
    teh committed with Mar 27, 2016
Commits on Mar 24, 2016
  1. Version 0.6.0.3

    committed Mar 24, 2016
  2. Fix lexing of unicode escape sequences

    Tests added.
    
    Closes: #48
    committed Mar 24, 2016
Commits on Mar 21, 2016
  1. Version 0.6.0.2

    committed Mar 21, 2016
  2. Fix a regex lexing bug

    Test added.
    
    Closes: #47
    committed Mar 21, 2016