pulumi/tools/mujs
joeduffy dbc17656f9 Emit more types
This change emits more types.  In particular:

* Previously, only primitive types got emitted, yielding "any" for any
  custom types.  Now we emit custom types, including fully qualified
  module names for type references resolving to imported modules.

* Prior to this change, we erroneously used the type node on the function
  declaration itself as an approximation for return type.  To get the
  true return type, we need to dig through a few nodes, including the
  Declaration and Signature.  This change now properly emits return types.

This doesn't close out marapongo/mu#46, however we are getting close.
2017-01-17 09:34:38 -08:00
..
cmd Fix output truncation issue 2017-01-16 15:18:57 -08:00
lib Emit more types 2017-01-17 09:34:38 -08:00
tests Emit more types 2017-01-17 09:34:38 -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 Do a bit of house-cleaning 2017-01-13 10:42:50 -08:00
README.md Implement the MuIL AST 2016-12-30 15:34:49 -08:00
tsconfig.json Do a bit of house-cleaning 2017-01-13 10:42:50 -08:00
tslint.json Upgrade to latest TSLint, and compile cleanly 2016-12-31 11:16:36 -08:00
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.