musictheory / NilScript

Objective-C-style language superset of JavaScript with a tiny, simple runtime
Other
50 stars 5 forks source link

Running the typechecker via the compiler API #49

Closed IngwiePhoenix closed 9 years ago

IngwiePhoenix commented 9 years ago

Now that I have http://github.com/IngwiePhoenix/oj-loader working the way I wanted, I want to extend it. Namely, I want to use the type checker. The other portions within the src/ folder seemed way more internal than I could really use them.

So how do I turn on the type checker - do i just pass it the code, or how does it work? o.o

Kind regards, Ingwie

IngwiePhoenix commented 9 years ago

`option["type-checker"]=true" === problem solved. :)