基于范畴计算的多目标语言程序生成架构  被引量:1

Category Theoretic Framework of Multi-language Program Generation

在线阅读下载全文

作  者:王金全 郑宇军[1,2] 

机构地区:[1]北京装备系统工程研究所,北京100093 [2]中国科学院软件研究所,北京100080

出  处:《计算机科学》2011年第4期185-187,共3页Computer Science

基  金:国家自然科学基金(60773054)资助

摘  要:提出了一种基于范畴论的多目标语言程序生成架构,程序元素的元类型在程序元模型范畴中定义,常用的软件开发模式由元模型实例组成并带有可配置的参数,模式到可执行语言的表达式、函数、类型等映射由范畴函子统一定义。在实际应用开发时,通过函子计算将抽象模式精化到不同的目标语言程序范畴。各种语言的精化计算方式具有统一的契约规范,从而支持高度的灵活性和重用度水平。The paper proposed a multi-language program generation framework based on category theory.Meta-types of basic program elements are defined in the category of meta-models.Typical patterns in software development are parameterized and composed by instances of meta-models and can be transformed into different programs through refinements to different executable language categories,the computations of which are based on categorical functors defining the mappings to language expressions,functions and types and complying with a unified contract.Thus the framework significantly improves the flexibility and reusability of program generation.

关 键 词:范畴论 程序生成 函子 模型变换 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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