pulumi/tools/mujs
joeduffy 8b1a814d17 Bind all module export clauses
This completes support for module imports and exports.

Many forms of exports are supported, and are all now tested, for example:

    // Export individual declarations as we go:
    export class C {}
    export interface I {}
    export let x = 42;

    // Export individual declarations explicitly:
    class D {}
    interface J {}
    let w = 42;
    export {D, J, w};

    // Rename exports:
    export {D as E, J as K, w as x};

    // Re-export members from other modules:
    export {A, B, c} from "other";

    // Rename re-exports:
    export {A as M, B as N, c as o} from "other";

    // Re-export entire module as a submodule:
    import * as other from "other";
    export {other};
2017-01-13 07:08:49 -08:00
..
cmd Add real diagnostics 2017-01-11 12:11:46 -08:00
lib Bind all module export clauses 2017-01-13 07:08:49 -08:00
tests Bind all module export clauses 2017-01-13 07:08:49 -08:00
.gitignore Add a new harness for test cases 2017-01-08 15:20:46 -06:00
mujs Add a handy executable wrapper for MuJS 2017-01-08 15:34:10 -06:00
package.json Add a baseline for the empty test 2017-01-10 08:15:34 -08:00
README.md Implement the MuIL AST 2016-12-30 15:34:49 -08:00
tsconfig.json Add real diagnostics 2017-01-11 12:11:46 -08:00
tslint.json Upgrade to latest TSLint, and compile cleanly 2016-12-31 11:16:36 -08:00
yarn.lock Add a new harness for test cases 2017-01-08 15:20:46 -06:00

MuJS

This directory contains Mu's JavaScript compiler.

It implements a subset of JavaScript with TypeScript-style type annotations, and can compile that subset into MuPack/IL.