Hostname: page-component-77f85d65b8-v2srd Total loading time: 0 Render date: 2026-03-29T02:20:56.981Z Has data issue: false hasContentIssue false

Generating action compilers by partial evaluation

Published online by Cambridge University Press:  07 November 2008

Anders Bondorf
Affiliation:
DIKU, Department of Computer Science, Universitetsparken 1, DK-2100 Copenhagen Ø, Denmark (e-mail: anders@diku.dk)
Jens Palsberg
Affiliation:
Computer Science Department, Aarhus University, DK-8000 Aarhus C, Denmark (e-mail: palsberg@daimi.aau.dk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Compiler generation based on Mosses' action semantics has been studied by Brown, Moura, and Watt, and also by the second author. The core of each of their systems is a handwritten action compiler, producing either C or machine code. We have obtained an action compiler in a much simpler way: by partial evaluation of an action interpreter. Even though our compiler produces Scheme code, the code runs as fast as that produced by the previous action compilers.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 1996
Submit a response

Discussions

No Discussions have been published for this article.