首页 | 本学科首页   官方微博 | 高级检索  
     


On parsing two-level grammars
Authors:Lutz Michael Wegner
Affiliation:(1) Institut für Angewandte Informatik und Formale Beschreibungsverfahren der Universität Karlsruhe, Postfach 6380, 7500 Karlsruhe 1, Germany (Fed. Rep.)
Abstract:Summary Making use of the fact that two-level grammars (TLGs) may be thought of as finite specification of context-free grammars (CFGs) with ldquoinfiniterdquo sets of productions, known techniques for parsing CFGs are applied to TLGs by first specifying a canonical CFG Gprime — called skeleton grammar — obtained from the ldquocross-referencerdquo of the TLG G. Under very natural restrictions it can be shown that for these grammar pairs (G, Gprime) there exists a 1 — 1 correspondence between leftmost derivations in G and leftmost derivations in Gprime. With these results a straightforward parsing algorithm for restricted TLGs is given.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号