kaby76 / Trash

Toolkit for grammars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ll(k) to ll(1)

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;. 

https://stackoverflow.com/questions/74358293/needs-corrections-in-writing-a-ll1-math-expression-parser