LRparse
LRparse is a tool for constructing an LR(1) parse table, and then
animating the parsing of a string.
LRparse was been worked on by many people: Susan H. Rodger, Mike James,
Steve Blythe, and Ugur Dogrusou.
Pictures of a sample session using LRparse
- Initial window, type in a grammar.
- Calculate FIRST sets
- Calculate FOLLOW sets
- Draw the DFA modeling the parsing stack.
- Show associated items sets for the states in the DFA.
- Fill in the parse table
- Example of parsing a string, before any steps are taken.
- Example of parsing a string, one step later.
- Example of parsing a string, one step later.