Permalink
Switch branches/tags
Nothing to show
Commits on Aug 10, 2012
  1. add simple lol example

    zbraniecki committed Aug 10, 2012
  2. use compiler in test

    zbraniecki committed Aug 10, 2012
  3. plug in compiler

    zbraniecki committed Aug 10, 2012
  4. Merge pull request #19 from stasm/ontheflycompiler

    zbraniecki committed Aug 10, 2012
    Add the on-the-fly compiler
  5. remove test.html and test.js

    stasm committed Aug 10, 2012
  6. Merge branch 'master' of git://github.com/zbraniecki/l20n into onthef…

    stasm committed Aug 10, 2012
    …lycompiler
    
    Conflicts:
    	js/parser.js
  7. Merge branch 'master' of git://github.com/zbraniecki/l20n into onthef…

    stasm committed Aug 10, 2012
    …lycompiler
    
    Conflicts:
    	js/l20n.js
Commits on Aug 9, 2012
  1. Rely on the platform impl to detect recursion.

    stasm committed Aug 9, 2012
    Don't detect recursion in `callExpression`s;  instead let the platform
    implementation handle recursion when needed.
    
    Rename the error thrown by `complexString`s to 'cyclic reference
    detected.'
  2. Attributes' interface like the Entities' one

    stasm committed Aug 9, 2012
    Make Attributes have a similar interface to the one Entities have, i.e.
    `_get`, `_yield` and `_resolve`.
    
    The signature of `_yield` now differs from `_resolve`: `_yield` takes
    a single `key` as the last arguments, while `_resolve` takes a list of
    keys, called an `index`.
Commits on Aug 8, 2012
  1. add dump_lol tool

    zbraniecki committed Aug 8, 2012
  2. Fix for when hash's index is undefined

    stasm committed Aug 8, 2012
    `HashLiteral`'s return funciton's `index` argument can by an empty
    array when called via `Entity._get` or `undefined`, if called by
    `ComplexString`.
  3. Name anonymous functions returned from expressions

    stasm committed Aug 8, 2012
    Otherwise they're sad.
Commits on Aug 7, 2012
  1. Set `dirty` on ComplexStrings to detect recursion

    stasm committed Aug 7, 2012
    Remove the (incomplete) implementation of locals.__stack__.  The stack
    would need to be passed around from one call to another to stay
    up-to-date.  This would require changes in how expressions are
    represented (regular objects which store state instead of functions) or
    changes to what these functions return (return value and the new stack
    instead of the return value alone).
    
    Instead, set a `dirty` flag on ComplexStrings and make use of the
    closure to change it from within the expression function.
  2. update tests for compiler

    zbraniecki committed Aug 7, 2012
Commits on Aug 3, 2012
  1. add tests

    zbraniecki committed Aug 3, 2012
Commits on Jul 16, 2012
  1. Merge pull request #18 from stasm/dom-overlays-security-comment

    zbraniecki committed Jul 16, 2012
    Add a comment explaining security implications of DOM overlays