<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM17Amin</id>
	<title>WG211/M17Amin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM17Amin"/>
	<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M17Amin&amp;action=history"/>
	<updated>2026-04-05T21:09:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://mw.hh.se/wg211/index.php?title=WG211/M17Amin&amp;diff=1635&amp;oldid=prev</id>
		<title>Eric: Created page with &quot;Nada Amin  Collapsing Towers of Interpreters  Abstract: Given a tower of interpreters, i.e. a sequence of interpreters interpreting each other, we aim to collapse this tower i...&quot;</title>
		<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M17Amin&amp;diff=1635&amp;oldid=prev"/>
		<updated>2017-06-17T23:00:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Nada Amin  Collapsing Towers of Interpreters  Abstract: Given a tower of interpreters, i.e. a sequence of interpreters interpreting each other, we aim to collapse this tower i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Nada Amin&lt;br /&gt;
&lt;br /&gt;
Collapsing Towers of Interpreters&lt;br /&gt;
&lt;br /&gt;
Abstract:&lt;br /&gt;
Given a tower of interpreters, i.e. a sequence of interpreters&lt;br /&gt;
interpreting each other, we aim to collapse this tower into a one-pass&lt;br /&gt;
compiler that removes all interpretive overhead. We present a&lt;br /&gt;
multi-level lambda calculus that features staging constructs and stage&lt;br /&gt;
polymorphism: based on runtime parameters, the interpreter can either&lt;br /&gt;
act as a normal interpreter or generate code, which turns it into a&lt;br /&gt;
compiler, according to the Futamura projections. We identify stage&lt;br /&gt;
polymorphism as the key mechanism to make such interpreters compose in&lt;br /&gt;
a collapsible way.&lt;br /&gt;
&lt;br /&gt;
We present a meta-circular Lisp interpreter on top of this calculus&lt;br /&gt;
and demonstrate that we can collapse arbitrarily many levels of&lt;br /&gt;
self-interpretation, including levels with semantic modifications. We&lt;br /&gt;
discuss several examples: compiling regular expressions through a Lisp&lt;br /&gt;
interpreter to base code, building program transformers from modified&lt;br /&gt;
interpreters, and others. We develop these ideas further into an&lt;br /&gt;
implementation of the reflective language Black, which implements a&lt;br /&gt;
conceptually infinite tower, where every aspect of the semantics can&lt;br /&gt;
change dynamically, and as a novel feature, we demonstrate how user&lt;br /&gt;
programs can be compiled and recompiled under user-modified semantics.&lt;/div&gt;</summary>
		<author><name>Eric</name></author>
	</entry>
</feed>