DParserGen 0.1.0
Tim
tim.dlang at t-online.de
Sun May 7 15:16:50 UTC 2023
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
More information about the Digitalmars-d-announce
mailing list