{"id":{"repo_id":"byu","oai_identifier":"oai:scholarsarchive.byu.edu:etd-12231"},"canonical_url":"https://search.ndltd.org/etd/byu/oai:scholarsarchive.byu.edu:etd-12231","repository":{"repo_id":"byu","name":"Brigham Young University","base_url":"https://scholarsarchive.byu.edu/do/oai/"},"display":{"title":"Some Closure on the Relation Between CFG and PEG","abstract":"We work toward a practical, unified language formalism for structurally recursive languages by expressing the mathematical theories underlying context-free grammars with lookahead (CFGLA) in the Rocq theorem prover and leveraging CFGLA semantics to analyze interactions between between recursion and negative lookahead. We give examples of grammars with left-recursive negation cycles for the parsing expression grammar (PEG) variant due to Medeiros et al. and for the translation from PEG to CFGLA due to Miyazaki and Minamide. To study the interaction between left recursion and negative lookahead in a PEG context, we introduce FPEG, a left-recursive extension of PEG with Fitting semantics.","abstract_html":"We work toward a practical, unified language formalism for structurally recursive languages by expressing the mathematical theories underlying context-free grammars with lookahead (CFGLA) in the Rocq theorem prover and leveraging CFGLA semantics to analyze interactions between between recursion and negative lookahead. We give examples of grammars with left-recursive negation cycles for the parsing expression grammar (PEG) variant due to Medeiros et al. and for the translation from PEG to CFGLA due to Miyazaki and Minamide. To study the interaction between left recursion and negative lookahead in a PEG context, we introduce FPEG, a left-recursive extension of PEG with Fitting semantics.","abstract_has_math":false,"creators":["Bulloch, Nathan J."],"institution":null,"degree_name":"MS","degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-04-21T07:00:00Z","date_published":"2026-04-21T07:00:00Z","updated_at":"2026-11-27T02:27:09Z","subjects":["context-free grammars with lookahead","parsing expression grammars","fitting semantics","left recursion","formal verification","Physical Sciences and Mathematics"],"languages":["english"],"rights":[],"rights_urls":["https://lib.byu.edu/about/copyright/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholarsarchive.byu.edu/etd/11220","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://scholarsarchive.byu.edu/etd/11220","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abyu%3Aoai%3Ascholarsarchive.byu.edu%3Aetd-12231","prefix":"oai_dc"},"source_record":{"url":"https://scholarsarchive.byu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarsarchive.byu.edu%3Aetd-12231","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Bulloch, Nathan J."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-04-21T07:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["context-free grammars with lookahead","parsing expression grammars","fitting semantics","left recursion","formal verification","Physical Sciences and Mathematics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["english"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["https://lib.byu.edu/about/copyright/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarsarchive.byu.edu/etd/11220"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Computational, Mathematical, and Physical Sciences","Computer Science"]},{"key":"dc:description.abstract","label":"Abstract","values":["We work toward a practical, unified language formalism for structurally recursive languages by expressing the mathematical theories underlying context-free grammars with lookahead (CFGLA) in the Rocq theorem prover and leveraging CFGLA semantics to analyze interactions between between recursion and negative lookahead. We give examples of grammars with left-recursive negation cycles for the parsing expression grammar (PEG) variant due to Medeiros et al. and for the translation from PEG to CFGLA due to Miyazaki and Minamide. To study the interaction between left recursion and negative lookahead in a PEG context, we introduce FPEG, a left-recursive extension of PEG with Fitting semantics."]},{"key":"dc:format","label":"Dc Format","values":["application:pdf"]},{"key":"dc:source","label":"Dc Source","values":["Brigham Young University"]},{"key":"dc:title","label":"Title","values":["Some Closure on the Relation Between CFG and PEG"]}]}],"canonical_facts":{"dc:creator":["Bulloch, Nathan J."],"dc:date":["2026-04-21T07:00:00Z"],"dc:description":["Computational, Mathematical, and Physical Sciences","Computer Science"],"dc:description.abstract":["We work toward a practical, unified language formalism for structurally recursive languages by expressing the mathematical theories underlying context-free grammars with lookahead (CFGLA) in the Rocq theorem prover and leveraging CFGLA semantics to analyze interactions between between recursion and negative lookahead. We give examples of grammars with left-recursive negation cycles for the parsing expression grammar (PEG) variant due to Medeiros et al. and for the translation from PEG to CFGLA due to Miyazaki and Minamide. To study the interaction between left recursion and negative lookahead in a PEG context, we introduce FPEG, a left-recursive extension of PEG with Fitting semantics."],"dc:format":["application:pdf"],"dc:identifier":["https://scholarsarchive.byu.edu/etd/11220"],"dc:language":["english"],"dc:rights.license":["https://lib.byu.edu/about/copyright/"],"dc:source":["Brigham Young University"],"dc:subject":["context-free grammars with lookahead","parsing expression grammars","fitting semantics","left recursion","formal verification","Physical Sciences and Mathematics"],"dc:title":["Some Closure on the Relation Between CFG and PEG"],"dc:type":["Thesis"],"thesis:degree_name":["MS"]},"updated_at":"2026-11-27T02:27:09Z"}