作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (14): 111-113.

• 论文 • 上一篇    下一篇

C/C++代码自动生成脚本语言接口的实现

官尚元,张芝萍,徐立锋,缪敬   

  1. 哈尔滨工程大学计算机科学与技术学院,中兴通讯公司成都研究所,中兴通讯公司成都研究所,中兴通讯公司成都研究所 哈尔滨 150001,中兴通讯公司成都研究所,成都 610041
  • 发布日期:2005-07-25

Implementation of Automatic Generating Scripting Language Interfaces with C/C++ Code

GUAN Shangyuan 1,2, ZHANG Zhiping 2, XU Lifeng 2, MIAO Jing 2   

  1. (1.Computer Science and Technology Institute, Harbin Engineering University, Harbin 150001; 2.Institute of Chengdu, ZTE Corporation, Chendu 610041)
  • Published:2005-07-25

摘要: 对于开发灵活的科学软件来说,脚本语言是一个强大的工具。然而开发人员经常遇到一个问题:如何将编译过的C/C++代码集成到一个解释器。为了解决上述问题,设计了一个可扩展的编译器——接口产生器(IG)。IG主要任务是把编译过的C/C++代码集成到脚本语言解释器中。因此,该文的主要目的就是解决上述相关问题。

关键词: 科学软件, 脚本语言, Python, 接口编译器

Abstract: Scripting languages are powerful tool for the construction of flexible scientific software. However, a common problem faced by thedevelopers of a scripted scientific application is that of integrating compiled C/C++ code with an interpreter. To solve this problem, an extensiblecompiler, interface generator (IG), is designed to automate the task of integrating compiled code with scripting language interpreters. Therefore, theprimary goal of this paper is to cover these topics.

中图分类号: