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:
Put the following dependency into your project's dependences section:
An SLR(1), LALR(1), LR(1) parser generator that can be calculated at the compile time (CTFE).
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).
Any improvement suggests/advices/requests are welcome.
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.
- Registered by Liu Yuanmin
- 0.6.3 released a year ago
- Copyright © 2020, marx-saul