Abstract
Maximally-polyvariant partial evaluation is a strategy for program specialization that propagates static values as accurate as possible. The online partial evaluator presented here achieves this precision in time polynomial in the number of partial-evaluation configurations. This is a significant improvement because a conventional partial evaluator can take exponential time, and no fast algorithm was known for maximally-polyvariant specialization. For an important class of quasideterministic specialization problems, our algorithm performs in linear time, even for linear-time specialization of a naive string matcher into a linear-time matcher, which was Futamura’s long-standing open challenge. Our results are presented using a recursive flowchart language.
Original language | English |
---|---|
Title of host publication | Perspectives of System Informatics : 10th International Andrei Ershov Informatics Conference, PSI 2015, in Memory of Helmut Veith, Kazan and Innopolis, Russia, August 24-27, 2015, Revised Selected Papers |
Editors | Manuel Mazzara, Andrei Voronkov |
Number of pages | 19 |
Publisher | Springer |
Publication date | 2016 |
Pages | 130-148 |
ISBN (Print) | 978-3-319-41578-9 |
ISBN (Electronic) | 978-3-319-41579-6 |
DOIs | |
Publication status | Published - 2016 |
Event | 10th International Andrei Ershov Informatics Conference on Perspectives of System Informatics - Kazan & Innopolis, Russian Federation Duration: 24 Aug 2015 → 27 Aug 2015 Conference number: 10 |
Conference
Conference | 10th International Andrei Ershov Informatics Conference on Perspectives of System Informatics |
---|---|
Number | 10 |
Country/Territory | Russian Federation |
City | Kazan & Innopolis |
Period | 24/08/2015 → 27/08/2015 |
Series | Lecture notes in computer science |
---|---|
Volume | 9609 |
ISSN | 0302-9743 |