摘要: 对于开发灵活的科学软件来说,脚本语言是一个强大的工具。然而开发人员经常遇到一个问题:如何将编译过的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.
中图分类号:
官尚元,张芝萍,徐立锋,缪敬. C/C++代码自动生成脚本语言接口的实现[J]. , 2005, 31(14): 111-113.
GUAN Shangyuan 1,2, ZHANG Zhiping 2, XU Lifeng 2, MIAO Jing 2. Implementation of Automatic Generating Scripting Language Interfaces with C/C++ Code[J]. , 2005, 31(14): 111-113.