{"id":{"repo_id":"rit","oai_identifier":"oai:repository.rit.edu:theses-9487"},"canonical_url":"https://search.ndltd.org/etd/rit/oai:repository.rit.edu:theses-9487","repository":{"repo_id":"rit","name":"Rochester Institute of Technology","base_url":"https://repository.rit.edu/do/oai/"},"display":{"title":"Table driven prediction for recursive descent LL(k) parsers","abstract":"Programming languages are typically described in BNF or some extension of BNF, and the process of converting these descriptions into parsers is performed by parser generators. Some of the parser generators that convert LL grammars into parsers construct them to use recursive descent that gives them context during execution. The context is provided by the execution stack as the parser descends into the grammar and this is what allows the full expressiveness of LL grammars. Table driven parsers can be generated instead but restrictions are placed on the LL grammars that can be accepted. The benefit of tables is that they facilitate a separation of syntax analysis and semantic code written by a language designer. They are also faster and they simplify language implementation and modification. This paper proposes the possibility of a hybrid system that makes decisions using tables but once decisions are made recursive descent is employed to maintain context. The benefits of each system are maintained, and the drawbacks are mitigated. Also discussed are the modifications made to an existing parser generator, oops (version 2), so that it accepts LL(k) grammars and builds parsers using this system as proof-of-concept.","abstract_html":"Programming languages are typically described in BNF or some extension of BNF, and the process of converting these descriptions into parsers is performed by parser generators. Some of the parser generators that convert LL grammars into parsers construct them to use recursive descent that gives them context during execution. The context is provided by the execution stack as the parser descends into the grammar and this is what allows the full expressiveness of LL grammars. Table driven parsers can be generated instead but restrictions are placed on the LL grammars that can be accepted. The benefit of tables is that they facilitate a separation of syntax analysis and semantic code written by a language designer. They are also faster and they simplify language implementation and modification. This paper proposes the possibility of a hybrid system that makes decisions using tables but once decisions are made recursive descent is employed to maintain context. The benefits of each system are maintained, and the drawbacks are mitigated. Also discussed are the modifications made to an existing parser generator, oops (version 2), so that it accepts LL(k) grammars and builds parsers using this system as proof-of-concept.","abstract_has_math":false,"creators":["Leiserson, William M."],"institution":null,"degree_name":"Computer Science (MS)","degree_level":"Thesis","degree_discipline":"Computer Science (GCCIS)","degree_department":null,"school":null,"contributors":["James Heliotis"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:01:47Z","subjects":[],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.rit.edu/theses/8464","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.rit.edu/theses/8464","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.rit.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Arepository.rit.edu%3Atheses-9487","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["James Heliotis"]},{"key":"dc:creator","label":"Author","values":["Leiserson, William M."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2014-10-13T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2007-12-01T08:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science (GCCIS)"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Computer Science (MS)"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.rit.edu/theses/8464"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Programming languages are typically described in BNF or some extension of BNF, and the process of converting these descriptions into parsers is performed by parser generators. Some of the parser generators that convert LL grammars into parsers construct them to use recursive descent that gives them context during execution. The context is provided by the execution stack as the parser descends into the grammar and this is what allows the full expressiveness of LL grammars. Table driven parsers can be generated instead but restrictions are placed on the LL grammars that can be accepted. The benefit of tables is that they facilitate a separation of syntax analysis and semantic code written by a language designer. They are also faster and they simplify language implementation and modification. This paper proposes the possibility of a hybrid system that makes decisions using tables but once decisions are made recursive descent is employed to maintain context. The benefits of each system are maintained, and the drawbacks are mitigated. Also discussed are the modifications made to an existing parser generator, oops (version 2), so that it accepts LL(k) grammars and builds parsers using this system as proof-of-concept."]},{"key":"dc:description.note","label":"Dc Description Note","values":["<p>Physical copy available from RIT's Wallace Library at QA267.3 .L34 2007</p>"]},{"key":"dc:title","label":"Title","values":["Table driven prediction for recursive descent LL(k) parsers"]}]}],"canonical_facts":{"dc:contributor":["James Heliotis"],"dc:creator":["Leiserson, William M."],"dc:date.available":["2014-10-13T07:00:00Z"],"dc:date.created":["2007-12-01T08:00:00Z"],"dc:description.abstract":["Programming languages are typically described in BNF or some extension of BNF, and the process of converting these descriptions into parsers is performed by parser generators. Some of the parser generators that convert LL grammars into parsers construct them to use recursive descent that gives them context during execution. The context is provided by the execution stack as the parser descends into the grammar and this is what allows the full expressiveness of LL grammars. Table driven parsers can be generated instead but restrictions are placed on the LL grammars that can be accepted. The benefit of tables is that they facilitate a separation of syntax analysis and semantic code written by a language designer. They are also faster and they simplify language implementation and modification. This paper proposes the possibility of a hybrid system that makes decisions using tables but once decisions are made recursive descent is employed to maintain context. The benefits of each system are maintained, and the drawbacks are mitigated. Also discussed are the modifications made to an existing parser generator, oops (version 2), so that it accepts LL(k) grammars and builds parsers using this system as proof-of-concept."],"dc:description.note":["<p>Physical copy available from RIT's Wallace Library at QA267.3 .L34 2007</p>"],"dc:identifier":["https://repository.rit.edu/theses/8464"],"dc:title":["Table driven prediction for recursive descent LL(k) parsers"],"thesis:degree_discipline":["Computer Science (GCCIS)"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Computer Science (MS)"]},"updated_at":"2026-11-19T09:01:47Z"}