Permalink
Switch branches/tags
Nothing to show
Commits on May 6, 2012
Commits on Apr 29, 2012
  1. Remove unnecessary function

    KlausTrainer committed Apr 29, 2012
  2. Remove bogus comment

    KlausTrainer committed Apr 29, 2012
  3. Array 0.6.0

    KlausTrainer committed Apr 29, 2012
  4. Clean up parser

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

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

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

    KlausTrainer committed Apr 16, 2012
  2. Array 0.1.0

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

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

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

    KlausTrainer committed Mar 31, 2012
  2. Support varargs

    KlausTrainer committed Mar 31, 2012
    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.
  3. Fix typo

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

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

    KlausTrainer committed Mar 16, 2012
    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.
Commits on Mar 15, 2012
Commits on Mar 14, 2012
  1. Remove whitespace

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

    KlausTrainer committed Mar 5, 2012
    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.
  2. Remove cruft

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

    KlausTrainer committed Mar 5, 2012
Commits on Feb 27, 2011
  1. Rebarize.

    seancribbs committed Feb 27, 2011
Commits on Mar 2, 2008
  1. refactoring

    rsaccon committed Mar 2, 2008
    git-svn-id: http://erlyjs.googlecode.com/svn/trunk@123 21f08b38-4d3e-0410-bd9f-0fb83bf2c4e3