2016
DOI: 10.2197/ipsjjip.24.123
|View full text |Cite
|
Sign up to set email alerts
|

Fast, Flexible, and Declarative Construction of Abstract Syntax Trees with PEGs

Abstract: Abstract:We address a declarative construction of abstract syntax trees with Parsing Expression Grammars. AST operators (constructor, connector, and tagging) are newly defined to specify flexible AST constructions. A new challenge coming with PEGs is the consistency management of ASTs in backtracking and packrat parsing. We make the transaction AST machine in order to perform AST operations in the context of the speculative parsing of PEGs. All the consistency control is automated by the analysis of AST operat… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
7
0

Year Published

2016
2016
2023
2023

Publication Types

Select...
3
2
2

Relationship

4
3

Authors

Journals

citations
Cited by 8 publications
(7 citation statements)
references
References 18 publications
(31 reference statements)
0
7
0
Order By: Relevance
“…Note that efficient packrat parsing with ASTs requires additional transactional management for ASTs. A detailed mechanism is reported in [22].…”
Section: Parser Runtime and Parser Generationmentioning
confidence: 99%
“…Note that efficient packrat parsing with ASTs requires additional transactional management for ASTs. A detailed mechanism is reported in [22].…”
Section: Parser Runtime and Parser Generationmentioning
confidence: 99%
“…matching capability with symbol table handlers and parsing conditions, due to the space constraints. Further information on the AST construction can be referred to our report [11]. Symbol table is a global state used to maintain strings, whose meaning is specialized in parsing contexts.…”
Section: Overviewmentioning
confidence: 99%
“…Many implemented parser generators Ford (2014) (2008); Kuramitsu (2016) that can load PEGs at runtime to parse. Since the dynamic parsing can pass through the code generation and its compilation process, we can use it as an existing XML validator.…”
Section: Parsing Algorithmmentioning
confidence: 99%