| 注册
首页|期刊导航|计算机技术与发展|基于C语言实现的IDL编译器

基于C语言实现的IDL编译器

李颖 胡明

计算机技术与发展Issue(3):5-9,5.
计算机技术与发展Issue(3):5-9,5.DOI:10.3969/j.issn.1673-629X.2013.03.002

基于C语言实现的IDL编译器

An IDL Compiler Designed and Implemented by C Language

李颖 1胡明1

作者信息

  • 1. 电子科技大学 通信与信息工程学院,四川 成都 611731
  • 折叠

摘要

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.

关键词

CORBA/接口定义语言/IDL编译器/C语言

Key words

CORBA/IDL/IDL compiler/Clanguage

分类

信息技术与安全科学

引用本文复制引用

李颖,胡明..基于C语言实现的IDL编译器[J].计算机技术与发展,2013,(3):5-9,5.

基金项目

中央高校基金(ZYGX2010J012) (ZYGX2010J012)

计算机技术与发展

OACSTPCD

1673-629X

访问量0
|
下载量0
段落导航相关论文