首页> 外文期刊>Journal of Functional Programming >Idris, a general-purpose dependently typed programming language: Design and implementation
【24h】

Idris, a general-purpose dependently typed programming language: Design and implementation

机译:Idris,一种通用的依赖类型编程语言:设计和实现

获取原文
获取原文并翻译 | 示例

摘要

Many components of a dependently typed programming language are by now well understood, for example, the underlying type theory, type checking, unification and evaluation. How to combine these components into a realistic and usable high-level language is, however, folklore, discovered anew by successive language implementors. In this paper, I describe the implementation of Idris, a new dependently typed functional programming language. Idris is intended to be a general-purpose programming language and as such provides high-level concepts such as implicit syntax, type classes and do notation. I describe the high-level language and the underlying type theory, and present a tactic-based method for elaborating concrete high-level syntax with implicit arguments and type classes into a fully explicit type theory. Furthermore, I show how this method facilitates the implementation of new high-level language constructs.
机译:到目前为止,人们已经很好地理解了依赖类型编程语言的许多组件,例如,基础类型理论,类型检查,统一和评估。但是,如何将这些组件组合成一种现实且可用的高级语言是民间文学艺术,它是历届语言实现者重新发现的。在本文中,我描述了一种新的依存类型函数编程语言Idris的实现。 Idris旨在成为一种通用的编程语言,因此提供了高级概念,例如隐式语法,类型类和do表示法。我描述了高级语言和基础类型理论,并提出了一种基于策略的方法,用于将带有隐式参数和类型类的具体高级语法详细化为完全显式的类型理论。此外,我将展示这种方法如何促进新的高级语言结构的实现。

著录项

  • 来源
    《Journal of Functional Programming》 |2013年第5期|552-593|共42页
  • 作者

    EDWIN BRADY;

  • 作者单位

    School of Computer Science, University of St Andrews, St Andrews KY16 9SX, UK;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号