I think the problem with JS parsers written in Java is they won't ever be up to date, no matter what, as they can't keep up with the rapid evolution that's happening now.
Rhino survived for a long time just because JS was pretty much stale.
> Delegating the parsing to a separate
process sounds like a massive performance issue
For context, that's how TS compiler plugins are going to work in the future, so I bet Microsoft is thinking ahead and optimizing for this use case. Plugins will communicate through IPC.
IIRC, in the current set up under Node.js you can provide your own
CompilerHost
and do everything in memory if necessary, so once a Node process is up it shouldn't be a massive hit in perf.