DParserGen 0.1.0

max haughton maxhaton at gmail.com
Sun May 7 18:38:09 UTC 2023


On Sunday, 7 May 2023 at 15:16:50 UTC, Tim wrote:
> I am releasing DParserGen 0.1.0, which is a parser and lexer 
> generator
> for D. It supports LALR and GLR parsers.
>
> The examples include grammars for D and C++. The D grammar uses 
> LALR,
> but also needs extensions like backtracking. For C++ a GLR 
> parser is
> used, so ambiguities result in special parse trees.
>
> For more details see the repository:
> https://github.com/tim-dlang/dparsergen
>
> It can be used with dub:
> https://code.dlang.org/packages/dparsergen

Which parts of the D grammar require backtracking?



More information about the Digitalmars-d-announce mailing list