CATEGORICAL ABSTRACT MACHINES FOR HIGHER-ORDER TYPED LAMBDA-CALCULI

被引:3
|
作者
RITTER, E
机构
[1] Computing Laboratory, Oxford University, Oxford, OX1 3QD, Wolfson Building, Parks Road
关键词
D O I
10.1016/0304-3975(94)00125-3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Curien's CAM is an environment machine for the untyped lambda-calculus based on cartesian closed categories (CCC's). This categorical model represents both environments and terms by morphisms regardless of their conceptual difference. We show that Ehrhard's D-categories yield a nice way of separating these two notions. Based on suitable categorical combinators for these D-categories we derive an eager and a lazy abstract machine. These machines specialize to the CAM and to Krivine's machine respectively. D-categories extended with additional structure to model the calculus of constructions yield generalizations of the CAM and Krivine's machine to this higher-order lambda-calculus. We also obtain an algorithm for type checking of these combinators, which uses the above reduction machines. Tests using Church-numerals show that the abstract machines are quite efficient compared to other implementations.
引用
收藏
页码:125 / 162
页数:38
相关论文
共 50 条