Sciweavers

SIGCSE
1994
ACM

LLparse and LRparse: visual and interactive tools for parsing

13 years 8 months ago
LLparse and LRparse: visual and interactive tools for parsing
This paper describes instructional tools, LLparse and LRparse, for visualizing and interacting with small examples of LL and LR parsing. These tools can be used to understand the process of constructing LL(1) and LR(1) parse tables through a series of steps in which users receive feedback on the correctness of each step before moving on to the next step. For example, in LRparse, the user initially enters an LR(1) grammar, calculates FIRST and FOLLOW sets, graphically constructs a deterministic finite automaton of item sets, and finally constructs the LR(1) parsing table. Upon completion of the constructed table, the user can observe a visualization of the parsing of input strings. These tools can be used to provide problem solving feedback in courses on automata theory or compiler design.
Stephen A. Blythe, Michael C. James, Susan H. Rodg
Added 10 Aug 2010
Updated 10 Aug 2010
Type Conference
Year 1994
Where SIGCSE
Authors Stephen A. Blythe, Michael C. James, Susan H. Rodger
Comments (0)