Construction of OMG IDL Compiler
Wang Huaibo, Li Lin, Zhang Shensheng Department of Computer Science & Engineering, Shanghai Jiaotong University, China
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.
【CateGory Index】： TP391.2,