2004
DOI: 10.1007/978-3-540-24723-4_6
|View full text |Cite
|
Sign up to set email alerts
|

Elkhound: A Fast, Practical GLR Parser Generator

Abstract: Abstract. The Generalized LR (GLR) parsing algorithm is attractive for use in parsing programming languages because it is asymptotically efficient for typical grammars, and can parse with any context-free grammar, including ambiguous grammars. However, adoption of GLR has been slowed by high constant-factor overheads and the lack of a general, user-defined action interface. In this paper we present algorithmic and implementation enhancements to GLR to solve these problems. First, we present a hybrid algorithm … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
64
0

Year Published

2005
2005
2015
2015

Publication Types

Select...
4
3
3

Relationship

0
10

Authors

Journals

citations
Cited by 83 publications
(64 citation statements)
references
References 17 publications
0
64
0
Order By: Relevance
“…This is particularly important in the fields of domainspecific languages and reverse engineering, where grammars should be easy to understand, evolvable, and maintainable. Therefore, the focus of this paper is mainly on providing a declarative framework for specification of precedence rules in generalized context-free parsing algorithms, such as Earley [2], GLR [3,4,5,6] and GLL [7].…”
Section: Introductionmentioning
confidence: 99%
“…This is particularly important in the fields of domainspecific languages and reverse engineering, where grammars should be easy to understand, evolvable, and maintainable. Therefore, the focus of this paper is mainly on providing a declarative framework for specification of precedence rules in generalized context-free parsing algorithms, such as Earley [2], GLR [3,4,5,6] and GLL [7].…”
Section: Introductionmentioning
confidence: 99%
“…SDF is a fully declarative formalism: contrary to other BNF-based grammar specifications for both traditional (e.g., LLgen [21], YACC [26], ANTLR [46]), as well as generalized parser generators (e.g., Elkhound [38]), there is no target language embedding for semantic actions, or syntactic and semantic predicates [45]. The lack of specific-purpose target language embeddings in the grammar formalism eases reuse of a single grammar file in multiple applications.…”
Section: Language Definitionmentioning
confidence: 99%
“…A number of GLR parser generators are freely available. Elkhound [16] and Harmonia [1] are two systems that provide GLR parsing capabilities. In both of these systems, a grammar is defined using an EBNF syntax.…”
Section: Parsing: From Strings To Termsmentioning
confidence: 99%