ES6 Parser in Dlang

Dejan Lekic dejan.lekic at gmail.com
Thu Feb 27 14:12:44 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?

Have a look at similar work: https://github.com/higgsjs/Higgs


More information about the Digitalmars-d mailing list