ES6 Parser in Dlang

Stefan Koch uplink.coder at googlemail.com
Thu Feb 27 20:46:09 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?

I would write my own. Maybe with some tooling to take care of the 
boring stuff.



More information about the Digitalmars-d mailing list