【24h】

Typing Haskell with an Attribute Grammar

机译:用属性语法键入Haskell

获取原文

摘要

A great deal has been written about type systems. Much less has been written about implementing them. Even less has been written about implementations of complete compilers in which all aspects come together. This paper fills this gap by describing the implementation of a series of compilers for a simplified variant of Haskell. By using an attribute grammar system, aspects of a compiler implementation can be described separately and added in a sequence of steps, thereby giving a series of increasingly complex (working) compilers. Also, the source text of both this paper and the executable compilers come from the same source files by an underlying minimal weaving system. Therefore, source and explanation is kept consistent.
机译:有关类型系统的文章很多。关于实现它们的文章很少。关于将所有方面融合在一起的完整编译器的实现的报道甚至更少。本文通过描述一系列针对Haskell简化版本的编译器的实现来填补这一空白。通过使用属性语法系统,可以分别描述编译器实现的各个方面,并按一系列步骤进行添加,从而提供了一系列日益复杂(工作)的编译器。而且,本文和可执行编译器的源文本都来自底层的最小编织系统,它们来自相同的源文件。因此,来源和说明保持一致。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号