特定领域建模方法和代码生成的研究  被引量:2

The Research of the Approach and Code Generation Based on Domain-Specific Modeling

在线阅读下载全文

作  者:卫红春[1] 贾笑蕊[1] 

机构地区:[1]西安石油大学计算机学院,陕西西安710065

出  处:《微电子学与计算机》2013年第9期154-157,共4页Microelectronics & Computer

摘  要:特定领域建模(Domain-Specific Modeling,DSM)提高了软件的抽象水平,DSM用模型表示用户的需求,然后通过生成器,直接把模型中的信息提取出来并转换成代码,实现了代码的自动生成.研究了特定领域建模语言、生成器和领域框架,总结了MetaEdit+下实现DSM的一般过程及其使用的相关技术,并介绍了代码生成的具体过程.基于MetaEdit+,实现了电子万年历的元建模和领域建模,并通过提出的深度优先遍历的代码生成算法,实现了电子万年历代码的自动生成.Domain-Specific Modeling (DSM)raises the abstract level of the software, it represents the user requirements by models, and with generators, information is directly extracted from the models and transformed into code, the code can be automatically generated. Based on the research of domain--specific modeling language, generator, domain framework, summarizes the general process of implementing DSM under the tool of MetaEdit+ , related technologies, and introduces the process of code generation in detail. Based on MetaEdit+, the metamodeling and domain-specific modeling of Electronic calendar are implemented, and with the algorithm of the depth-first traverse proposed , code of the electronic calendar is generated automatically.

关 键 词:特定领域建模 元模型 MetaEdit+ 生成器 深度优先遍历 电子万年历 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象