摘要
介绍了GCC抽象语法树的结构及在编译过程中的作用。给出解析抽象语法树所使用的词法规则和语法规则,提出了解析GCC抽象语法树的方法。
The structure of GCC syntax tree and its functions in compiling are introduced. Lexical rules and syntax rules used for parsing syntax trees are given, and a method for parsing GCC is proposed.
出处
《计算机应用》
CSCD
北大核心
2004年第3期115-116,共2页
journal of Computer Applications
基金
武器装备预研基金项目 (51 40 6 0 70 1 0 1DZ0 1 51 )
关键词
抽象语法树
词法规则
语法规则
abstract syntax tree
lexical rule
syntax rule