首页 | 本学科首页   官方微博 | 高级检索  
     检索      

OMG IDL编译器的构造
引用本文:王怀伯,李林.OMG IDL编译器的构造[J].上海交通大学学报,1998,32(10):46-49.
作者姓名:王怀伯  李林
摘    要:研究了OMGIDL编译器构造中各阶段的主要路线,介绍了词法分析阶段的文件包含,宏定义与宏展开,条件编译这三类预处理宏的解析方法,语法分析阶段的抽象语法树设计,语法树构造及在语法树构造过程中进行IDL名字空间约束的静态语义检查,在低码生成阶段,通过分析分布计算的简要过程,对远程调用参数及结果的传递代码,调用派遣代码的生成环节进行了讨论。

关 键 词:IDL编译器  预处理宏  抽象语法树  分布计算

Construction of OMG IDL Compiler
Abstract:This paper covers the main design strategies in OMG IDL compiler construction. As to lexical scanning, processing of the three preprocessing macros is dwelled, including file inclusion, macro definition and expansion, and conditional compilation. As to syntax parsing, the focuse is drawn upon the way to design abstract syntax tree, the construction procedure of the abstract syntax tree, and the validation of static semantic such as IDL name space restrains. As to code generating, the two basic portions in remote calling, say, the code to pass parameters and results and to dispatch requests, are discussed after briefing the steps of distributed computation.
Keywords:IDL compiler  preprocessing macro  abstract syntax tree  distributed computation  
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号