ll(k) to ll(1)
kaby76 opened this issue · comments
Ken Domino commented
Ken Domino commented
e : t ep ; ep : ( '+' | '-' ) t ep | ; t : f tp ; tp : ( '*' | '/' ) f tp | ; f : p fp ; fp : '^' p fp ;p : NUM | '(' e ')' | ('-'|'+') t;.
Toolkit for grammars
kaby76 opened this issue · comments
e : t ep ; ep : ( '+' | '-' ) t ep | ; t : f tp ; tp : ( '*' | '/' ) f tp | ; f : p fp ; fp : '^' p fp ;p : NUM | '(' e ')' | ('-'|'+') t;.