检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:贺新征 光焱[1] 祝跃飞 He Xinzheng;Guang Yan;Zhu Yuefei(Information Engineering University,Zhengzhou 450001,Henan,China;School of Computer and Information Engineering,Henan University,Kaifeng 475000,Henan,China)
机构地区:[1]中国人民解放军战略支援部队信息工程大学,河南郑州450001 [2]河南大学计算机与信息工程学院,河南开封475000
出 处:《计算机应用与软件》2022年第4期5-13,59,共10页Computer Applications and Software
基 金:国家重点研发计划项目(2016YFB0801601)。
摘 要:采用一种基于范畴论发展出来的Monad的实现方法,该方法可从编译器中提取操作性语义,然后将其等价转换为指示性语义。由于Monad方法普遍适用于函数式编程语言,使得基于Monad的可认证数据结构可根据源语言的语法生成新语言特性。优点是新语言特性的设计者无须深入了解修改编译器语法树,也无须修改源语言的语法,即可完成程序语言编译器之间语义的移植。This paper introduced a Monad implementation method based on category theory, which could extract operational semantics from compilers and convert them into denotational semantics equivalently. As Monad approach was generally applicable to functional programming languages, it made the Monad-based certifiable data structure possible to generate a new language feature according to the syntax of the original language. It was an advantage that the designer of the new language features could migrate the semantics between programming language compilers without the in-depth understanding of the syntax tree of the modified compiler and without amending the syntax of the source language.
关 键 词:可认证数据结构 范畴理论 类型理论 函数式编程 程序语言设计
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.218.231.183