comp_d 0.6.5

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.1 Bug (StrongMinLR.d) fixed.

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.5 2020-May-21
0.6.4 2020-May-21
0.6.3 2020-Apr-11
0.6.2 2020-Apr-11
0.6.1 2020-Apr-10
Show all 13 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 10 downloads total

Score:
0.2
Short URL:
comp_d.dub.pm