【24h】

Reification

机译:化身

获取原文

摘要

We consider how the data structures of an interpreter may be made available to the program it is running, and how the program may alter its interpreter's structures. We refer to these processes as reification and reflection. We show how these processes may be considered as an extension of the fexpr concept in which not only the form and the environment, but also the continuation, are made available to the body of the procedure. We show how such a construct can be used to effectively add an unlimited variety of "special forms" to a very small base language. We consider some trade-offs in how interpreter objects are reified. Our version of this construct is similar to one in 3-Lisp [Smith 82, 84], but is independent of the rest of 3-Lisp. In particular, it does not rely on the notion of a tower of interpreters.

机译:

我们考虑如何将解释器的数据结构提供给正在运行的程序,以及程序如何更改其解释器的结构。我们将这些过程称为修订 reflection 。我们展示了如何将这些过程视为fexpr概念的扩展,在该概念中,过程主体不仅可以使用形式和环境,还可以使用延续。我们展示了如何使用这种构造为非常小的基础语言有效地添加无数种“特殊形式”。我们在解释器对象的形式化方面考虑了一些权衡。我们构建的该版本与3-Lisp中的一个相似[Smith 82,84],但与3-Lisp的其余部分无关。特别是,它不依赖于翻译塔的概念。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号