Abstract
We have experimentally validated the theoretical insight, that a compiler generator is an Ershov generating extension of a program specializer, by showing that an existing offline partial evaluator can perform the fourth Futamura projection. Specifically, an online and an offline partial evaluator for an imperative flowchart language were transformed into two new compiler generators by Romanenko’s classical partial evaluator Unmix. The two partial evaluators are described, as is a novel recursive method for polyvariant specialization. The new compiler generators are demonstrated by converting a universal parser into a parser generator. These results strongly indicate that existing partial evaluation techniques can be put to work on several new applications. To date, all previous compiler generators based on partial evaluation were either generated by self-application or handwritten. None of these works considered the generation of one compiler generator by another.
Original language | English |
---|---|
Title of host publication | Perspectives of System Informatics : 7th International Andrei Ershov Memorial Conference, PSI 2009, Novosibirsk, Russia, June 15-19, 2009. Revised Papers |
Editors | Amir Pnueli, Irina Virbitskaite, Andrei Voronkov |
Number of pages | 16 |
Publisher | Springer |
Publication date | 2010 |
Pages | 135-150 |
ISBN (Print) | 978-3-642-11485-4 |
ISBN (Electronic) | 978-3-642-11486-1 |
DOIs | |
Publication status | Published - 2010 |
Event | 7th International Andrei Ershov Memorial Conference on Perspectives of System Informatics - Novosibirsk, Russian Federation Duration: 15 Jun 2009 → 19 Jun 2009 Conference number: 7 |
Conference
Conference | 7th International Andrei Ershov Memorial Conference on Perspectives of System Informatics |
---|---|
Number | 7 |
Country/Territory | Russian Federation |
City | Novosibirsk |
Period | 15/06/2009 → 19/06/2009 |
Series | Lecture notes in computer science |
---|---|
Volume | 5947 |
ISSN | 0302-9743 |