【24h】

First-class Macros Have Types

机译:一流的宏具有类型

获取原文
获取外文期刊封面目录资料

摘要

In modern Scheme, a macro captures the lexical environment where it is defined. This creates an opportunity for extending Scheme so that macros are first-class values. The key to achieving this goal, while preserving the ability to compile programs into reasonable code, is the addition of a type system. Many interesting things can be done with first-class macros, including the construction of a useful module system in which modules are also first-class.
机译:在现代Scheme中,宏捕获定义它的词法环境。这为扩展Scheme创造了机会,使宏成为一流的值。实现此目标的关键是保留将程序编译为合理代码的能力,同时还要增加类型系统。一流的宏可以完成许多有趣的事情,包括构造有用的模块系统,其中模块也是一流的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号