コンピュータ ソフトウェア
Print ISSN : 0289-6540
Agate(アガテ)–AgdaからHaskellへのコンパイラ
尾崎 弘幸武山 誠木下 佳樹
著者情報
ジャーナル フリー

2009 年 26 巻 4 号 p. 4_107-4_119

詳細
抄録

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.

著者関連情報
© 日本ソフトウェア科学会 2009
前の記事 次の記事
feedback
Top