Code generation via higher-order rewrite systems

Florian Haftmann, Tobias Nipkow

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

137 Scopus citations

Abstract

We present the meta-theory behind the code generation facilities of Isabelle/HOL. To bridge the gap between the source (higherorder logic with type classes) and the many possible targets (functional programming languages), we introduce an intermediate language, Mini- Haskell. To relate the source and the intermediate language, both are given a semantics in terms of higher-order rewrite systems (HRSs). In a second step, type classes are removed from Mini-Haskell programs by means of a dictionary translation; we prove the correctness of this step. Building on equational logic also directly supports a simple but powerful algorithm and data refinement concept.

Original languageEnglish
Title of host publicationFunctional and Logic Programming - 10th International Symposium, FLOPS 2010, Proceedings
Pages103-117
Number of pages15
DOIs
StatePublished - 2010
Event10th International Symposium on Functional and Logic Programming, FLOPS 2010 - Sendai, Japan
Duration: 19 Apr 201021 Apr 2010

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6009 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference10th International Symposium on Functional and Logic Programming, FLOPS 2010
Country/TerritoryJapan
CitySendai
Period19/04/1021/04/10

Fingerprint

Dive into the research topics of 'Code generation via higher-order rewrite systems'. Together they form a unique fingerprint.

Cite this