Parsing algorithms with backtrack*

https://doi.org/10.1016/S0019-9958(73)90851-6Get rights and content
Under an Elsevier user license
open archive

Two classes of restricted top-down parsing algorithms modeling “recursive descent” are considered. We show that the smaller class recognizes all deterministic context free languages, and that both classes can be simulated in linear time on a random access machine. Certain generalizations of these parsing algorithms are shown equivalent to the larger class. Finally, it is shown that the larger class has the property that loops and other “failures” can always be eliminated.

Cited by (0)

*

Work supported by NSF Grant GJ-465.