摘要
设计一种可以生成不同编程语言配置代码的通用生成装置。提出一种基于编程语言结构的用户描述规范,用户使用简单的语法编写一个按照该规范描述目标代码数据结构的模块即可生成相应的可配置代码,并能生成多种编程语言的可配置代码文件。该装置可以方便地移植到各种开发语言环境的软件或硬件系统中,减少软件或硬件代码配置工作的开发工作量和开发时间。
This paper designs a general configurable code generator to generate configurable codes in a variety of programming languages, and proposes a users' description rule based on structures of programming languages. By using a programming grammar according to the rule described, users can write a simple module to generate the configurable code file with corresponding data structures in a variety of programming languages. The generator can be easily transplanted to many programming languages environment of different software and hardware systems to reduce development workload and time.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第18期54-56,共3页
Computer Engineering
关键词
编程语言结构
配置代码生成
规范化的配置文件
structure of programming language
configurable code generation
standardized configurahle file