An abstract data type for name analysis |
| |
Authors: | U Kastens W M Waite |
| |
Affiliation: | 1. Fachbereich 17, Universit?t Paderborn, W-4790, Paderborn, Federal Republic of Germany 2. Department of Electrical and Computer Engineering, University of Colorado, 80309-0425, Boulder, CO, USA
|
| |
Abstract: | This paper defines an abstract data type on which a solution to the name analysis subproblem of a compiler can be based. (Name analysis uses the scope rules of a language to associate uses of identifiers with their definitions.) We give a state model for the ADT, and show how to implement that model efficiently. The implementation is independent of any particular name analysis, so it is possible to create a library module that can be used in any compiler. Such a library module has been incorporated into the Eli compiler construction system. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|