[1]李颖,胡明.基于C语言实现的IDL编译器[J].计算机技术与发展,2013,(03):5-9.
 LI Ying,HU Ming.An IDL Compiler Designed and Implemented by C Language[J].,2013,(03):5-9.
点击复制

基于C语言实现的IDL编译器()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年03期
页码:
5-9
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
An IDL Compiler Designed and Implemented by C Language
文章编号:
1673-629X(2013)03-0005-05
作者:
李颖胡明
电子科技大学 通信与信息工程学院
Author(s):
LI YingHU Ming
关键词:
CORBA接口定义语言IDL编译器C语言
Keywords:
CORBAIDLIDL compilerClanguage
文献标志码:
A
摘要:
对象管理组织指定的CORBA规范是分布式对象计算的中间件标准,它允许透明地访问远程对象,同时支持异构系统的互操作,其中,IDL编译器是分布式计算环境的基本开发工具.为了开发出具有高效性和可维护性的IDL编译器,文中首先提出了用C语言设计实现的IDL编译器三模块设计模式,然后讨论了IDL编译器在实现过程中所涉及到的数据结构、顶层接口、函数执行流程等,最后对文中实现的IDL编译器进行了测试.结果表明,文中设计实现的IDL编译器能成功地完成IDL到C++的转换;极大地缩减开源CORBA产品ACE/TAO(TAO:The ACE ORB)使用的IDL编译器TAO_idl编译出来的桩和框架的大小;当给常量进行赋值时,如果它们都属于数值型或者字符型,而赋值运算符两边的类型不一致时,文中设计实现的IDL编译器能极好地改善TAO_idl,在赋值时进行类型转换的问题
Abstract:
The CORBA specification,which is standardized by the Object Management Group (OMG),is a middleware standard for dis-tributed object computing. It allows transparently access to remote objects and supports the interoperability of heterogeneous systems. And IDL compiler is a basic development tools for the distributed computing environments. In order to develop a high-efficiency and main-tainable IDL compiler,firstly,explore a three-module development model of IDL compiler. Then it discusses some technical problems such as data structures,top-level interface and some function execution flow chart in the process of design and implementation of the compiler. At last,carry out tests. The results show that the IDL compiler designed and implemented by C can translate IDL to C++ suc-cessfully,and it can reduce the size of stub and skeleton which were produced by TAO's IDL compiler. And also when it comes to assign a value to a constant variable,the IDL compiler implemented can improve the type conversion problem of TAO's IDL compiler,when two sides of the assignment operator are not the same type but both of them are numeric or character type

相似文献/References:

[1]莫永新 孙红兵.基于Multi-agent技术的电子政务系统设计[J].计算机技术与发展,2009,(10):200.
 MO Yong-xin,SUN Hong-bing.E- government System Development Based on Multi - agent Technology[J].,2009,(03):200.
[2]费洪晓 欧阳伟.企业CORBA中间件的性能分析及优化方法[J].计算机技术与发展,2009,(03):12.
 FEI Hong-xiao,OUYANG Wei.Performance Analysis and Improvement of Enterprise CORBA[J].,2009,(03):12.
[3]代霞 黄劲松.基于CORBA综合网络配置管理的设计与实现[J].计算机技术与发展,2008,(02):91.
 DAI Xia,HUANG Jin-song.Design and Realization of Integrated Network Configuration Management Based on CORBA[J].,2008,(03):91.
[4]王晓东 姜浩.Web Service同传统分布式技术的比较分析[J].计算机技术与发展,2008,(03):125.
 WANG Xiao-dong,JIANG Hao.Comparison and Analysis Between Web Service and Traditional Distributed Technology[J].,2008,(03):125.
[5]祁明龙 阚文第 杨俊.CORBA与DCOM桥接设计与实现[J].计算机技术与发展,2008,(05):105.
 QI Ming-long,KAN Wen-di,YANG Jun.Design and Implementation of Bridging Between CORBA and DCOM[J].,2008,(03):105.
[6]李行 张立臣 陈成.面向方面的实时系统中间件[J].计算机技术与发展,2008,(07):8.
 LI Xing,ZHANG Li-chen,CHEN Cheng.Aspect Oriented Middleware for Real- Time System[J].,2008,(03):8.
[7]许丽婷 董丽丽.CORBA中POA策略研究[J].计算机技术与发展,2007,(01):60.
 XU Li-ting,DONG Li-li.The Research of POA's Policy in CORBA[J].,2007,(03):60.
[8]瞿绍军 刘宏 唐赞玉.信息家电体系结构研究[J].计算机技术与发展,2007,(06):224.
 QU Shao-jun,LIU Hong,TANG Zan-yu.Research of Information Appliances Architecture[J].,2007,(03):224.
[9]潘伟 郑刚.用MDA方法实现CORBA体系结构[J].计算机技术与发展,2007,(02):184.
 PAN Wei,ZHENG Gang.Building CORBA Architecture Based on MDA[J].,2007,(03):184.
[10]白田恬 邢永康.实现NGCC系统的关键技术及分析[J].计算机技术与发展,2007,(04):27.
 BAI Tian-tian,XING Yong-kang.Key Technique and Analysis about How to Realize System of NGCC[J].,2007,(03):27.

更新日期/Last Update: 1900-01-01