Instead of serializing simple token strings into the AST -- in place of things like type references, module references, export references, etc. -- we now use 1st class AST nodes. This ensures that source context flows with the tokens as we bind them, etc., and also cleans up a few inconsistencies (like using an ast.Identifier for NewExpression -- clearly wrong since this the resulting MuIL is meant to contain fully bound semantic references). |
||
---|---|---|
.. | ||
cmd | ||
lib | ||
tests | ||
.gitignore | ||
mujs | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
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.