We found a match
Your institution may have access to this item. Find your institution then sign in to continue.
- Title
Early action in an Earley parser.
- Authors
Aycock, John; Borsotti, Angelo
- 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.
- Subjects
PARSING (Computer grammar); COMPUTATIONAL linguistics; SEMANTICS; COMPUTER algorithms; COMPUTER programming
- Publication
Acta Informatica, 2009, Vol 46, Issue 8, p549
- ISSN
0001-5903
- Publication type
Article
- DOI
10.1007/s00236-009-0107-6