Code Generation via Higher-Order Rewrite Systems

被引:0
|
作者
Haftmann, Florian [1 ]
Nipkow, Tobias [1 ]
机构
[1] Tech Univ Munich, Inst Informat, D-8000 Munich, Germany
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present the meta-theory behind the code generation facilities of Isabelle/HOL. To bridge the gap between the source (higher-order logic with type classes) and the many possible targets (functional programming languages), we introduce an intermediate language, Mini-Haskell. To relate the source mid the intermediate language, both are given a semantics in terms of higher-order rewrite systems (HRSs). In a second step, type classes are removed hoot Mini-Haskell programs by means of a dictionary translation; we prove the correctness of this step. Building on equational logic also directly supports a simple but powerful algorithm and data refinement concept.
引用
收藏
页码:103 / 117
页数:15
相关论文
共 50 条