Cherow ECMAparser 1.0 beta is out
Still in beta stage, but with improved performance.
URL: https://github.com/cherow/cherow
URL: https://github.com/cherow/cherow
I guess I’m saying really portable language parsers would be c libs with wrappers for n languages, or language servers.
I'm mostly interested in writing a docstring document (like jsDoc) generator. So I care if this parser can keep comments. From the readme I saw it does. But from the demo page, I checked "attach comment", but I couldn't see comments in the parsed result.
Cherow collect comments. The version before v. 1.0 also kept comment or attached node directly on the AST itself. I removed it due to perf reasons and no one - I thought at least - was using it anymore. If that is something you would need, I can add it back. Shouldn't take long.