MuIL doesn't support identifiers as expressions; instead, an explicit LoadLocationExpression is required. There was a problem in the current MuJS translation process -- masked by TypeScript silently duck typing from Identifier to Expression -- but our Mu decoding library discovered it. This fixes the problem by wrapping Identifiers used in Expression positions in a proper LoadLocationExpression node. |
||
---|---|---|
.. | ||
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.