2014
DOI: 10.1145/2714064.2660202
|View full text |Cite
|
Sign up to set email alerts
|

Adaptive LL(*) parsing

Abstract: Despite the advances made by modern parsing strategies such as PEG, LL (*), GLR, and GLL, parsing is not a solved problem. Existing approaches suffer from a number of weaknesses, including difficulties supporting side-effecting embedded actions, slow and/or unpredictable performance, and counter-intuitive matching strategies. This paper introduces the ALL (*) parsing strategy that combines the simplicity, efficiency, and predictability of conventional top-down … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
10
0
3

Year Published

2015
2015
2020
2020

Publication Types

Select...
5
2
1

Relationship

0
8

Authors

Journals

citations
Cited by 31 publications
(22 citation statements)
references
References 19 publications
0
10
0
3
Order By: Relevance
“…Instead, there are many parser generators like Bison and Yacc [11] that take a grammar expressed in a domain-specific way, and generate code to parse that language. We are using ANTLR [12] [13] [14], It is a parser generator that uses LL(*) parsing [15] [16]. It takes a grammar as input and generates parsers that can build and walk parse trees and generate abstract syntax trees that can be further processed with tree parsers.…”
Section: Another Tool For Language Recognition (Antlr)mentioning
confidence: 99%
“…Instead, there are many parser generators like Bison and Yacc [11] that take a grammar expressed in a domain-specific way, and generate code to parse that language. We are using ANTLR [12] [13] [14], It is a parser generator that uses LL(*) parsing [15] [16]. It takes a grammar as input and generates parsers that can build and walk parse trees and generate abstract syntax trees that can be further processed with tree parsers.…”
Section: Another Tool For Language Recognition (Antlr)mentioning
confidence: 99%
“…The work presented in [36], where the authors present a method for document structure analysis with syntactic model and parsers for Japanese legal judgments, is closer to ours. In contrast with [36], our method does not rely on PEG [37] rules, but on CFG parser which allows for more flexibility in regards to ambiguity and context-dependent grammar by means of predicates [19].…”
Section: Legal Document Structuringmentioning
confidence: 99%
“…ANother Tool for Language Recognition (ANTLR), a language framework for constructing recognizers, interpreters, compilers and translators from grammatical descriptions containing actions in a variety of target languages, is among the most powerful and popular parser generators. ANTLR accepts as input any context-free grammar that does not contain indirect or hidden left-recursion and generates a lexer and a recursive-descent parser that uses an ALL(*) production prediction function [19]. Experiments presented in [19] have shown that ALL(*) outperforms general (Java) parsers by orders of magnitude, exhibiting linear time and space behavior for various languages.…”
mentioning
confidence: 99%
See 1 more Smart Citation
“…rather than its concrete syntactic structure. To create the AST, the code is first passed through a tool like ANTLR [15], which parses and builds a parse tree. Performing minimal modifications to the ANTLR parse tree creates an abstract syntax tree.…”
Section: Abstract Syntax Treementioning
confidence: 99%