Abstract
This paper shows that bootstrapping of compiler generators from program specializers is a viable alternative to the third Futamura projection. To practically validate the technique, a novel partial evaluation-based compiler generator was designed and implemented for a recursive flowchart language. Three-step bootstrapping was found to be faster and to produce the same compiler generator that Gomard and Jones produced two decades ago by double self-application. Compiler-generator bootstrapping has distinct properties that are not present in the classic three Futamura projections, such as the ability to turn a specializer into a compiler generator in one step without self-application. Up to now, the approach of hand-writing compiler generators has only been used to avoid difficulties when specializing strongly-typed languages, not as a first step towards compiler-generator bootstrapping.
Originalsprog | Engelsk |
---|---|
Titel | Perspectives of System Informatics : 8th International Andrei Ershov Memorial Conference, PSI 2011, Novosibirsk, Russia, June 27-July 1, 2011, Revised Selected Papers |
Redaktører | Edmund Clarke, Irina Virbitskaite, Andrei Voronkov |
Antal sider | 17 |
Forlag | Springer |
Publikationsdato | 2012 |
Sider | 125-141 |
ISBN (Trykt) | 978-3-642-29708-3 |
ISBN (Elektronisk) | 978-3-642-29709-0 |
DOI | |
Status | Udgivet - 2012 |
Begivenhed | 8th International Andrei Ershov Memorial Conference on Perspectives of Systems Informatics - Novosibirsk, Rusland Varighed: 27 jun. 2011 → 1 jul. 2011 Konferencens nummer: 8 |
Konference
Konference | 8th International Andrei Ershov Memorial Conference on Perspectives of Systems Informatics |
---|---|
Nummer | 8 |
Land/Område | Rusland |
By | Novosibirsk |
Periode | 27/06/2011 → 01/07/2011 |
Navn | Lecture notes in computer science |
---|---|
Vol/bind | 7162 |
ISSN | 0302-9743 |