Permalink
Commits on May 2, 2013
  1. Merge pull request #1 from waj/fix_minus_plus_without_spaces

    Correctly parse minus and plus operators between numbers without spaces
    committed May 2, 2013
Commits on Apr 25, 2013
Commits on May 6, 2012
Commits on Apr 29, 2012
  1. Remove unnecessary function

    committed Apr 29, 2012
  2. Remove bogus comment

    committed Apr 29, 2012
  3. Array 0.6.0

    committed Apr 29, 2012
  4. Clean up parser

    committed Apr 29, 2012
Commits on Apr 28, 2012
  1. Array 0.4.0

    committed Apr 28, 2012
Commits on Apr 18, 2012
  1. Array 0.2.0

    committed Apr 16, 2012
Commits on Apr 16, 2012
  1. Use erl_syntax imports

    committed Apr 16, 2012
  2. Array 0.1.0

    committed Apr 14, 2012
Commits on Apr 13, 2012
  1. Import `erl_syntax` functions in `erlyjs_compiler`

    Includes lots of whitespace changes in `erlyjs_compiler.erl`.
    committed Apr 13, 2012
  2. Change whitespace

    committed Apr 13, 2012
Commits on Apr 12, 2012
Commits on Mar 31, 2012
  1. Remove obsolete code

    committed Mar 31, 2012
  2. Support varargs

    From now on, all JS functions have the arity 1 and take a list of
    arguments of arbitrary length, which is available within JS functions
    as the `arguments` variable.
    
    Arguments that are specified in a JS function's signature but are
    omitted when calling it are initialized with the value `undefined`.
    
    At present, the `arguments` variable is not really useful, as there's
    currently no way to retrieve the arguments from the `arguments`
    variable yet. This has to wait until we support proper objects.
    committed Mar 31, 2012
  3. Fix typo

    committed Mar 31, 2012
Commits on Mar 27, 2012
  1. Improve functions

    This adds the ability to define functions in functions and to return
    closures.
    committed Mar 21, 2012
Commits on Mar 21, 2012
  1. Correctly return undefined

    Return undefined when:
    * there's no return statement
    * there's a return statement with no value
    * there's a return statement with value undefined.
    
    This also fixes empty function bodies, which, unlike previously, are
    compiled correctly now.
    committed Mar 16, 2012
Commits on Mar 15, 2012
Commits on Mar 14, 2012
  1. Remove whitespace

    committed Mar 14, 2012
Commits on Mar 5, 2012
  1. Fix variable context bug

    The functions `get_vars_init/3`, `get_vars_snapshot/1`,
    and `get_vars_lists/4` in the `erlyjs_compiler` module returned the
    variables in an undefined order. As a result, the matching expressions
    produced by control statements (e.g. `while` or `for`) were sometimes
    incorrect.
    
    This fixes the bug by always making the order of the variables
    deterministic by sorting them by their name.
    committed Mar 5, 2012
  2. Remove cruft

    committed Mar 5, 2012
  3. Fix test for Math.tan

    committed Mar 5, 2012