comp_d 0.6.0

An LR parser generator written in D that can be calculated at the compile time.


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

Comp_d

An SLR(1), LALR(1), LR(1) parser generator that can be calculated at the compile time (CTFE).

Usage

To do:

User-defined conflict resolving rules. (LRTable.d)

Make an interface for LRTable and implement LRTable by AATree(current one is 2-dim array). (LRTable.d)

Implement Pager's minimal LR(1) algorithm (strong-compatibility) (and IELR(1) if vigorous enough).

Others

Any improvement suggests/advices/requests are welcome.

History

v0.6.0 Pager's minimal LR(1) algorithm (strong-compatibility) implemented.

v0.5.0 Templates changed.

v0.4.0 Templates changed.

v0.3.0 Auto parse tree construction, Fixed bug around weak minimal LR, changed DSL slightly.

v0.2.0 Pager's minimal LR(1) algorithm (weak-compatibility) implemented.

v0.1.0 First publish.

Authors:
  • marx-saul
Dependencies:
none
Versions:
0.6.0 2020-Mar-26
0.5.0 2020-Mar-20
0.4.0 2020-Mar-19
0.3.0 2020-Mar-19
0.2.0 2020-Mar-09
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 3 downloads this month

  • 4 downloads total

Score:
0.3
Short URL:
comp_d.dub.pm