摘要
针对语义分析进行了面向对象分析与设计,实现了类型检查、变量函数处理及将控制语句化为特殊函数进行处理,并就作用域分析设计了一种新颖的作用域树。整个分析过程简便灵活,具有良好的可操作性。
By means of OOP method,many aspects of sematic analysis of compiler are discussed and realized in this paper, such as checking type, managing variable and function, converting control-sentences into special functions, and so on. It also finishes the designing of a novelty function region tree for analyzing function region. All of these endow semantic analysis with many OOP properties.
出处
《计算机工程与设计》
CSCD
2002年第4期23-25,28,共4页
Computer Engineering and Design