Network


Latest external collaboration on country level. Dive into details by clicking on the dots.

Hotspot


Dive into the research topics where Morten Rhiger is active.

Publication


Featured researches published by Morten Rhiger.


Journal of Functional Programming | 2001

Normalization by evaluation with typed abstract syntax

Olivier Danvy; Morten Rhiger; Kristoffer H. Rose

In higher-order abstract syntax, the variables and bindings of an object language are represented by variables and bindings of a meta-language. Let us consider the simply typed λ-calculus as object language and Haskell as meta-language. For concreteness, we also throw in integers and addition, but only in this section.


New Generation Computing | 2002

A unifying approach to goal-directed evaluation

Olivier Danvy; Bernd Grobauer; Morten Rhiger

Goal-directed evaluation, as embodied in Icon and Snobol, is built on the notions of backtracking and of generating successive results, and therefore it has always been something of a challenge to specify and implement. In this article, we address this challenge using computational monads and partial evaluation.We consider a subset of Icon and we specify it with a monadic semantics and a list monad. We then consider a spectrum of monads that also fit the bill, and we relate them to each other. For example, we derive a continuation monad as a Church encoding of the list monad. The resulting semantics coincides with Gudeman’s continuation semantics of Icon.We then compile Icon programs by specializing their interpreter (i.e., by using the first Futamura projection), using type-directed partial evaluation. Through various back ends, including a run-time code generator, we generate ML code, C code, and OCaml byte code. Binding-time analysis and partial evaluation of the continuation-based interpreter automatically give rise to C programs that coincide with the result of Proebsting’s optimized compiler.


international symposium on functional and logic programming | 2001

A Simple Take on Typed Abstract Syntax in Haskell-like Languages

Olivier Danvy; Morten Rhiger

We present a simple way to program typed abstract syntax in a language following a Hindley-Milner typing discipline, such as Haskell and ML, and we apply it to automate two proofs about normalization functions as embodied in type-directed partial evaluation for the simply typed lambda calculus: normalization functions (1) preserve types and (2) yield long beta-eta normal forms.


ACM Transactions on Programming Languages and Systems | 2003

A foundation for embedded languages

Morten Rhiger


BRICS Report Series | 1998

Compiling Actions by Partial Evaluation, Revisited

Olivier Danvy; Morten Rhiger


BRICS Report Series | 2002

A Foundation for Embedded Languages

Morten Rhiger


BRICS Report Series | 2001

A Unifying Approach to Goal-Directed Evaluation

Olivier Danvy; Bernd Grobauer; Morten Rhiger


Archive | 2001

A Simple Take on Typed Abstract Syntax in Haskell-like Languages (Extended version)

Olivier Danvy; Morten Rhiger


BRICS Report Series | 2001

Normalization by Evaluation with Typed Abstract Syntax

Olivier Danvy; Morten Rhiger; Kristoffer H. Rose

Collaboration


Dive into the Morten Rhiger's collaboration.

Top Co-Authors

Avatar
Top Co-Authors

Avatar
Researchain Logo
Decentralizing Knowledge