pulumi/tools/mujs
joeduffy 6769107c66 Track module imports
This change tracks the set of imported modules in the ast.Module
structure.  Although we can in principle gather up all imports simply
by looking through the fully qualified names, that's slightly hokey;
and furthermore, to properly initialize all modules, we need to know
in which order to do it (in case there are dependencies).  I briefly
considered leaving it up to MetaMu compilers to inject the module
initialization calls explicitly -- for infinite flexibility and perhaps
greater compatibility with the source languages -- however, I'd much
prefer that all Mu code use a consistent module initialization story.
Therefore, MetaMus declare the module imports, in order, and we will
evaluate the initializers accordingly.
2017-01-17 09:50:32 -08:00
..
cmd Fix output truncation issue 2017-01-16 15:18:57 -08:00
lib Track module imports 2017-01-17 09:50:32 -08:00
tests Track module imports 2017-01-17 09:50:32 -08:00
.gitignore
mujs
package.json Do a bit of house-cleaning 2017-01-13 10:42:50 -08:00
README.md
tsconfig.json Do a bit of house-cleaning 2017-01-13 10:42:50 -08:00
tslint.json
yarn.lock Do a bit of house-cleaning 2017-01-13 10:42:50 -08: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.