Top-down parsing in Coco-2
-
Published:1991-01-02
Issue:3
Volume:26
Page:79-87
-
ISSN:0362-1340
-
Container-title:ACM SIGPLAN Notices
-
language:en
-
Short-container-title:SIGPLAN Not.
Affiliation:
1. Institut für Informatik, Johannes Kepler Universität Linz, A-4040 Linz
Abstract
Coco-2 [Dobler90] is a new compiler compiler with two interesting features: It allows the specification of the lexical structure, syntax and semantics of a source language within a single document
and
it implements a new top-down parsing method. This paper focuses on the new parsing method that conveniently incorporates the evaluation of semantic actions in table-driven top-down parsers. The new method is called
hybrid
because it is a powerful combination of table-driven top-down syntax analysis and the handling of semantic evaluation as implemented in recursive descent parsers. The most notable fact of this method is, that it provides the benefits of table-driven top-down parsing and recursive descent while avoiding their drawbacks.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference8 articles.
1. Coco-2
2. [Mösenböck88] Mössenböck H.: A Convenient Way to Incorporate Semantic Actions in Two-Pass Compiling Schemes. Software -- Practice and Experience 1988. 10.1002/spe.4380180708 [Mösenböck88] Mössenböck H.: A Convenient Way to Incorporate Semantic Actions in Two-Pass Compiling Schemes . Software -- Practice and Experience 1988. 10.1002/spe.4380180708
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. GPDL;Proceedings of the 15th annual conference companion on Genetic and evolutionary computation;2013-07-06