Library for lexing and parsing D source code
To use this package, put the following dependency into your project's dependencies section:
Library for lexing and parsing D source code.
Online documentation is available here.
A HTML version of libdparse's grammar is also automatically generated.
Tests are present in the test directory. To run them execute the run_tests.sh script. Running the tests on Windows is not currently supported.
Differences with the official grammar
Static array initialization syntax. Due to ambiguities they are supported when the expression that gives the elements indexes is not an array. In the opposite case they are parsed as associative array literals.
- Registered by Brian Schott
- 0.8.0-alpha.3 released 7 months ago