Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

[research] Java parser for TypeScript #144

Closed paulvi closed 10 years ago

paulvi commented 10 years ago

Is there TypeScript parser written in Java?

There are ways to run compiler from Java http://stackoverflow.com/questions/13218205/run-typescript-compiler-from-java , but we need to get parser result in Java objects (in Java heap memory of local JVM)

Possibly using grammar definitions, but hopefully not.
ref http://stackoverflow.com/questions/12720955/is-there-a-formal-ideally-bnf-typescript-js-language-grammar-or-only-typescri

Final result would be something like this