Abstract | ||
---|---|---|
Traditional Earley parsers operate in two phases: first recognizing the input, then constructing the forest of parse trees. Practically speaking, this quirk makes it awkward to use in a compiler-compiler, because semantic actions attached to rules are only executed after the fact. We address this problem by identifying safe Earley sets, points during the recognition phase at which partial parse trees can be constructed; this means that semantic actions may be executed on the fly. A secondary benefit is that Earley sets can be deleted during recognition, resulting in a substantial savings of both space and time. |
Year | DOI | Venue |
---|---|---|
2009 | 10.1007/s00236-009-0107-6 | Acta Inf. |
Keywords | Field | DocType |
secondary benefit,traditional earley parsers,partial parse tree,semantic action,parse tree,safe earley set,early action,substantial saving,recognition phase,earley set | Programming language,Parse tree,Computer science,On the fly,Compiler,Parsing,Semantics,Earley parser | Journal |
Volume | Issue | ISSN |
46 | 8 | 1432-0525 |
Citations | PageRank | References |
1 | 0.36 | 3 |
Authors | ||
2 |
Name | Order | Citations | PageRank |
---|---|---|---|
John Aycock | 1 | 351 | 33.03 |
Angelo Borsotti | 2 | 1 | 0.36 |