Re:JSweet: A transpiler from Java to TypeScript/JavaScript
by chii on Tuesday December 15, 2015 @09:25PM
(#10741962)
As far as I can tell, you cannot eval arbitrary expressions. I used to use it like a REPL back then. That's what I would miss now with source map
[ Parent
| on HN ]
Re:JSweet: A transpiler from Java to TypeScript/JavaScript
by cromwellian on Tuesday December 15, 2015 @09:33PM
(#10741987)
It might be possible to pull this off with the new compiler because it's draft mode is a true incremental unoptimized draft, and translating an expression to call the JS is a relatively straightforward ABI.