发明名称 Interface for symbol table construction in a multilanguage optimizing compiler
摘要 A compiler framework uses a generic "shell" and a generic back end (where the code generator is target-specific). The generic back end provides the functions of optimization, register and memory allocation, and code generation. The code generation function of the back end may be targeted for any of a number of computer architectures. A front end is tailored for each different source language, such as Cobol, Fortran, Pascal, C, C++, etc. The front end scans and parses the source code modules, and generates from them an intermediate language representation of the source code programs expressed in the source code. The intermediate language represents any of the source code languages in a universal manner, so the interface between the front end and back end is of a standard format, and need not be rewritten for each language-specific front end. A feature is the type definition (TD) mechanism, referred to a the TD module. This module provides mechanisms used by the front end and the compiler of the back end in constructing program "type-information" to be incorporated in an object module for use by a linker or debugger. The creation of "type-information" takes place in the context of symbol table creation and allows a front end to specify to the back end an abstract representation of program type information. The TD module provides service routines that allow a front end to describe basic types and abstract types.
申请公布号 US5659753(A) 申请公布日期 1997.08.19
申请号 US19940364437 申请日期 1994.12.27
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 MURPHY, DENNIS JOSEPH;FAIMAN, JR., ROBERT NEIL
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址