KiCS2: a new compiler from Curry to Haskell

  • Authors:
  • Bernd Braßel;Michael Hanus;Björn Peemöller;Fabian Reck

  • Affiliations:
  • Institut für Informatik, CAU Kiel, Kiel, Germany;Institut für Informatik, CAU Kiel, Kiel, Germany;Institut für Informatik, CAU Kiel, Kiel, Germany;Institut für Informatik, CAU Kiel, Kiel, Germany

  • Venue:
  • WFLP'11 Proceedings of the 20th international conference on Functional and constraint logic programming
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present our first steps towards a new system to compile functional logic programs of the source language Curry into purely functional Haskell programs. Our implementation is based on the idea to represent non-deterministic results as values of the data types corresponding to the results. This enables the application of various search strategies to extract values from the search space. We show by several benchmarks that our implementation can compete with or outperform other existing implementations of Curry.