infernu icon indicating copy to clipboard operation
infernu copied to clipboard

ES6 module support

Open Globegitter opened this issue 9 years ago • 2 comments

Hey there, just trying out your module and loving it because it is type inference out of the box and type annotations on the roadmap, rather than the other way around.

We are using es6 modules in our source code (with some custom path imports, e.g. import x from '//common/library/path') and right now infernu just fails on the first line import. Would be great to see that support at some point :)

Thanks for this tool btw, looking great so far!

Globegitter avatar Nov 09 '15 16:11 Globegitter

Thanks, I agree we want this. This requires the JS parser, https://github.com/jswebtools/language-ecmascript, to support ES6. Not sure if anyone is working on that...

sinelaw avatar Nov 10 '15 13:11 sinelaw

Maybe in a galaxy far, far away... There aren't plans to support ES6 right now. Will accept PRs, though.

On 11/10/2015 08:24 AM, Noam Lewis wrote:

Thanks, I agree we want this. This requires the JS parser, https://github.com/jswebtools/language-ecmascript, to support ES6. Not sure if anyone is working on that...

— Reply to this email directly or view it on GitHub https://github.com/sinelaw/infernu/issues/30#issuecomment-155417853.

achudnov avatar Nov 10 '15 14:11 achudnov