Affiliation:
1. Carnegie-Mellon University, Pittsburgh, PA.
2. Intermetrics, Inc., Cambridge, MA.
Abstract
A technique for writing semantic analysis phases of compilers is described. The technique uses Simula classes and virtual procedures to create a flexible and modular program.The technique is used to implement a semantic analysis phase of a compiler front end for the preliminary Ada language. Because the design is extremely flexible and modular, the front end is able to accommodate changes in the Ada language and its semantics as they are publishedSeveral problems were encountered when implementing Ada's semantics. These problems are described and their solutions presented.The front end also produces TCOL
Ada'
the specified intermediate language for various Ada compiler contracts. This output has been used by an experimental compiler back end. [9]The front end is written as two programs which perform lexical analysis, syntactic analysis, semantic analysis, and TCOL
Ada
generation. The front end is coded in Simula, and has been runnig on DEC Tops-10 and Tops-20 systems since September 1979.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference11 articles.
1. DEC-System 10 Simula Language Handbook. Rapportcentralen;Birtwistle G.;FOA,1976
2. Operator identification in ADA
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Semantic Analysis Using Tree Transformation on the Objective-C Compiler;Communications in Computer and Information Science;2011
2. A One-Pass Algorithm for Overload Resolution in Ada;ACM Transactions on Programming Languages and Systems;1982-10
3. A single-pass syntax-directed front end for Ada;ACM SIGPLAN Notices;1982-06
4. Abstract syntax based programming environments;Proceedings of the AdaTEC Conference on Ada - AdaTEC '82;1982