perplex 0.4.1

A grammar analyzer and LR(k)/GLR parser generator.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// In this grammar the `T` causes the parse to diverge, since `T->A` and
// `T->B` are both valid interpretations. It reconverges upon `y` which
// is common for both branches. This is an example of local ambiguity.

token x;
token y;
token z;

S {	T y z ; }
T { A; B; }
A { x; }
B { x; }