PEGLL Demo
Grammar
Expr <- Sum Sum <- Product '+' Sum / Product '-' Sum / Product Product <- Atom '*' Product / Atom '/' Product / Atom Atom <- '(' Expr ')' / [0-9]+
Input
1+2*3
Simplify tree
Show positions
Parse
Download SVG