Permalink
Commits on Aug 17, 2012
  1. [fix] w_typer: use eqType on hints

    Niki Vazou committed Aug 17, 2012
  2. [fix] Changelog: typos

    cedricss committed Aug 17, 2012
  3. [fix] options: propagate js_classic_bypass_syntax option.

    arthuraa committed Aug 16, 2012
    We now pass the js_classic_bypass_syntax option to the plugin compiler
    when it is called from the opa compiler instead of the plugin
    builder. This option wasn't being set before.
  4. [fix] libbsl: consider scope when renaming js bypasses.

    arthuraa committed Aug 16, 2012
    If we don't consider scope, local variables that shadow bypasses will
    be renamed too, which can cause bugs.
  5. [fix] libbsl: add tags automatically in new syntax.

    arthuraa committed Aug 16, 2012
    The second_order field wasn't being set correctly.
  6. [fix] libbsl: rename idents in js new syntax.

    arthuraa committed Aug 14, 2012
    When we read a file with directives, we rename all registered
    identifiers to their fully qualified names. Thus, in bslFoo.js,
    
        /**
         * @register {int -> int}
         */
        function toto(a) {
            return a + toto(a);
        }
    
    becomes
    
        function BslFoo_toto(a) {
            return a + BslFoo_toto(a);
        }
  7. [fix] jsparse: fix non comment trash problem.

    arthuraa committed Aug 13, 2012
    The way streams are redefined right now looks somewhat confusing. This
    needs to be fixed.
  8. [enhance] jslex: enforce new token production invariant.

    arthuraa committed Aug 10, 2012
    Now in addition to the old invariant, there can be no LT before a
    comment.
  9. [enhance] jslex: remove global state.

    arthuraa committed Aug 10, 2012
    Before, the lexer used a global imperative state, which meant that two
    lexers couldn't be run in parallel. Now, each stream has its own local
    state.
    
    We also produce new lines after reading comments, if it is needed.
  10. [fix] libbsl: pp js before parsing.

    arthuraa committed Aug 8, 2012
    Since the "new syntax" parser needs to be fed valid javascript, we
    must preprocess the js files before parsing them, instead of after.
  11. [fix] qmljsimp: shadowing in higher-order projections.

    arthuraa committed Aug 17, 2012
    function_projection used the same parameter names, so we just added a
    new identifiers in each new recursion.
Commits on Aug 16, 2012
  1. [fix] jsparse: catch and raise unix exception.

    arthuraa committed Aug 16, 2012
    Now the parse functions throw errors when they can't open files, which
    makes error messages somewhat more friendly.
  2. [layout] libbsl: code style.

    arthuraa committed Aug 16, 2012
  3. [enhance] tools: custom ocaml toplevel with many libs.

    arthuraa committed Aug 9, 2012
    In addition to the old ocamlbase custom toplevel, there's a new
    ocamlall one that includes most compiler libs. To build it, type
    
      _build/myocamlbuild tools/ocamlall.top
    
    and then run it with
    
      tools/ocamlall
Commits on Aug 13, 2012
  1. [doc] Changelog: updated

    cedricss committed Aug 13, 2012