首页    期刊浏览 2024年11月29日 星期五
登录注册

文章基本信息

  • 标题:Agate(アガテ)–AgdaからHaskellへのコンパイラ
  • 本地全文:下载
  • 作者:尾崎 弘幸 ; 武山 誠 ; 木下 佳樹
  • 期刊名称:コンピュータ ソフトウェア
  • 印刷版ISSN:0289-6540
  • 出版年度:2009
  • 卷号:26
  • 期号:4
  • 页码:4_107-4_119
  • DOI:10.11309/jssst.26.4_107
  • 出版社:Japan Society for Software Science and Technology
  • 摘要:

    We report some features of Agate, a compiler for the dependently typed functional language of the Agda proof-assistant. Agate was developed as an experimental platform for the practice of dependently typed programming and extends the Agda language with I/O facilities and calls to Haskell functions. The first feature is the use of Higher-Order Abstract Syntax to translate terms of the Agda language into untyped λ-calculus encoded in Haskell. The second feature is the application of the Haskell class mechanism to embed typed Haskell terms in the universal type for untyped λ-calculus. This approach makes Agate very lightweight. The performance of a number of codes generated by Agate is evaluated.

国家哲学社会科学文献中心版权所有