2004
DOI: 10.1016/j.entcs.2004.06.008
|View full text |Cite
|
Sign up to set email alerts
|

The Grammar Tool Box: A Case Study Comparing GLR Parsing Algorithms

Abstract: The Grammar Tool Box is a toolset for manipulating Context Free Grammars and objects associated with them such as parsers, languages and derivations. GTB has three main rôles: as a pedagogic tool; as an experimental platform for novel algorithms and representations; and as a production tool for translator front end generation. In this paper we give an overview of GTB and its companion Java-based animator tool PAT. We illustrate the use of the toolset in the construction of a comparative study of three variants… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
4
0

Year Published

2007
2007
2023
2023

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 13 publications
(4 citation statements)
references
References 18 publications
0
4
0
Order By: Relevance
“…When this is performed on a suitable grammar (i.e. one without embedded recursion) the unrolled NFA generates the IRIA automaton discussed in [15]. We now view Knuth-style LR automata and the RIGLR IRIA as special cases of this general NFA construction function.…”
Section: The Interplay Between Theory and Practicementioning
confidence: 97%
See 1 more Smart Citation
“…When this is performed on a suitable grammar (i.e. one without embedded recursion) the unrolled NFA generates the IRIA automaton discussed in [15]. We now view Knuth-style LR automata and the RIGLR IRIA as special cases of this general NFA construction function.…”
Section: The Interplay Between Theory and Practicementioning
confidence: 97%
“…In particular, we have compared Tomita's original algorithm, and Farshi's modification of it, with the RNGLR algorithm [24,7]; we have compared the Reduction Incorporated GLR algorithm with the other GLR algorithms [23,11]; we have developed resolved right nullable tables and considered their application to RNGLR and LR parsing [22]. We have also made comparative studies of these algorithms when running with a variety of types of LR tables and discussed some of the phenomena that underlie the space and time complexities of these parsers [14,15,13]. More recently we have reported on approaches to the removal of embedded recursion in grammars, a necessary precursor to automaton construction for RIGLR parsers [12,8].…”
Section: Grammars For Standard Programming Languagesmentioning
confidence: 98%
“…Among other tools we can cite PAT [13,17], now discontinued, which has been used for the visualization and statistical comparison of various GLR parsers, [18] for visualizing lexical generation processes and [22] that is an educational tool for visualizing compiling techniques based on deterministic parsers.…”
Section: Related Workmentioning
confidence: 99%
“…Parser visualization tools either visualize the process of generating a parser from a grammar like LLparse and LRparse [2]. Or they visualize parser execution like PAT [12,15] which has been used for the visualization and statistical comparison of various GLR parsers. Among other tools we can cite [16] for visualizing lexical generation processes and [19] that is an educational tool for visualizing compiling techniques based on deterministic parsers.…”
Section: Related Workmentioning
confidence: 99%