Abstract
A recursive descent recognizer for F G is called a recursive ascent recognizer for G. The algorithm is akin to the Earley algorithm, itself discussed in section 7.5 of the next chapter, if the functions are memoized, especially if the algorithm is implemented in the interpretative way (see the discussion following (4.6)). The compiled implementation is potentially more efficient than the standard Earley algorithm. Deterministic recursive descent recognizers with look ahead, as in section 4.4, applied to grammars like F g , are called PLR(k) recognizers in the literature. Our algorithm could thus be called a “PLR(0)-like recognizer,” but it could also be called a nondeterministic left-comer recognizer, following yet another nomenclature from the world of deterministic parsing methods. From all potential names we choose to call the kind of algorithms we are now engaged in “Earley-like” or “recursive ascent Earley” parsers, to emphasize the nondeterministic nature of the algorithms and the fact that they are item-based.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1993 Springer Science+Business Media Dordrecht
About this chapter
Cite this chapter
Leermakers, R. (1993). Recursive Ascent. In: The Functional Treatment of Parsing. The Springer International Series in Engineering and Computer Science, vol 242. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-3186-9_6
Download citation
DOI: https://doi.org/10.1007/978-1-4615-3186-9_6
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4613-6397-2
Online ISBN: 978-1-4615-3186-9
eBook Packages: Springer Book Archive