Functional Programming With Higher-order Abstract Syntax and Explicit Substitutions

被引:0
|
作者
Pientka, Brigitte [1 ]
机构
[1] McGill Univ, Sch Comp Sci, Montreal, PQ, Canada
关键词
Logical frameworks; type systems;
D O I
10.1016/j.entcs.2006.10.037
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper sketches a foundation for programming with higher-order abstract syntax and explicit substitutions based on contextual modal type theory [9]. Contextual modal types not only allows us to cleanly separate the representation of data objects from computation, but allow us to recurse over data objects with free variables. In this paper, we extend these ideas even further by adding first-class contexts and substitutions so that a program can pass and access code with free variables and an explicit environment, and link them in a type-safe manner. We sketch the static and operational semantics of this language, and give several examples which illustrate these features.
引用
收藏
页码:41 / 60
页数:20
相关论文
共 50 条