First-class Environments in Categorical Combinators
First-class Environments in Categorical Combinators
复制标题
分类组合器中的一流环境
DOI:
10.1142/9789813234079_0003
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
S. Nishizaki
中科院分区:
文献类型:
--
作者:
Hiroki Joko;S. Nishizaki
The categorical combinatory logic CCLβηSP is a combinatory logic motivated by the cartesian closed category, proposed by Pierre-Louis Curien. The combinatory logic is used for modeling of the lambda calculus and gives a design of an abstract machine, the Categorical Abstract Machine (CAM). The first-class environment is a mechanism in programming languages which enables us to manipulate an environment, that is, a mapping of variables to bound values. We have studied the lambda calculus with first-class environments for several years.In this paper, we depict that the first-class environment indwells in the categorical combinatory logic, giving the translation of the simply-typed lambda calculus with first-class environments into the categorical combinatory logic. We show the translation respects the typing and the reduction.