libdparse 0.8.0-alpha.3

Library for lexing and parsing D source code

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences 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.


CI Status

Tests are present in the test directory. To run them execute the 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.

Unsupported Syntax

0.23.2 2023-Jul-05
0.23.1 2023-Jun-29
0.23.0 2023-May-04
0.22.0 2023-Feb-14
0.21.3 2023-Feb-09
Show all 129 versions
Download Stats:
  • 162 downloads today

  • 1490 downloads this week

  • 9105 downloads this month

  • 927596 downloads total

Short URL: