arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.11101cs.PL
收藏

ICurry

Sergio Antoy, Michael Hanus, Andy Jost, Steven Libby

英文摘要:

FlatCurry is a well-established intermediate representation of Curry programs used in compilers that translate Curry code into Prolog and Haskell code. Some FlatCurry constructs have no direct translation into imperative code. These constructs must be each handled differently when translating Curry code into C, C++ and Python code. We introduce a new representation of Curry programs, called ICurry, and derive a translation from all FlatCurry constructs into ICurry. We present the syntax of ICurry and the translation from FlatCurry to ICurry. We present a model of functional logic computations as graph rewriting, show how this model can be implemented in a low-level imperative language, and describe the translation from ICurry to this model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑