计算机应用 ›› 2005, Vol. 25 ›› Issue (01): 91-92.DOI: 10.3724/SP.J.1087.2005.00091

• 软件技术 • 上一篇    下一篇

基于CORBA构件模型的编译器的研究与实现

郑先容1.2,黄杰2,贾焰2   

  1. 1.湖南城市学院计算机科学系;2.国防科技大学计算机学院
  • 发布日期:2005-01-01 出版日期:2005-01-01
  • 基金资助:

    国家863计划资助项目(2001AA113020);;国家自然科学基金资助项目(90104020);;国家973规划资助项目

    (G1999032703)

Research and implementation of compiler based on CORBA component model

ZHENG Xian-rong1,2, HUANG Jie2, JIA Yan2   

  1. 1. Computer Department, Hunan City University; 2. Computer College, National University of Defense Technology
  • Online:2005-01-01 Published:2005-01-01

摘要: 分析了IDL3与CIDL语言对CORBA构件模型的定义,设计了CORBA构件模型的编译器及其接口池,编译器前端采用LEX与YACC工具对源文件进行词法与语法分析来实现,后端采用对接口池"前序遍历"的方法最终实现编译器,为CORBA构件平台的构件实现提供了生成工具。

关键词: CORBA构件模型, IDL3与CIDL语言, 编译器

Abstract: The definition of the CORBA component model with IDL3 and CIDL was analyzed, and the compiler and its interface repository of the CORBA component model were designed. The front end of compiler was implemented by analyzing accidence and syntax parsing on source file with LEX and YACC, while the back end was implemented by "preorder traversal" means on interface repository, thus providing generate tools for CORBA component platform to make components.

Key words: CORBA component model, IDL3 and CIDL, compiler

中图分类号: