ES6 Parser in Dlang
JN
666total at wp.pl
Thu Feb 27 14:42:59 UTC 2020
On Thursday, 27 February 2020 at 14:06:19 UTC, James Lu wrote:
> I want to implement an ES6 (JavaScript) parser in Dlang so I
> can implement a transpiler. Because it's a transpiler, I need
> to be able to visit and rewrite AST nodes, then generate code
> from the AST. Ideally, the parser generator supports streaming
> the input into the AST visitor out to the output.
>
> What parser generator library should I use for this purpose?
Check this out: http://code.dlang.org/packages/es6-grammar looks
like a good starting point.
More information about the Digitalmars-d
mailing list