source can be found under /TI/elm/cfg-in-class/DrawLR0Parser.elm

LR0-Parsing step by step

message:
Nothing
grammar:
E -> OpeningParenthesis Plus S ClosingParenthesis;
E -> OpeningParenthesis Times P ClosingParenthesis;
E -> Integer "dummy integer";
S -> ;
S -> S E;
P -> ;
P -> P E;
[OpeningParenthesis,Times,OpeningParenthesis,Plus,Integer "8",Integer "12",ClosingParenthesis,OpeningParenthesis,Plus,Integer "9",Integer "11",ClosingParenthesis,ClosingParenthesis]
[]
CBAanother dummy leafdummy childdummy treedummy root