Tagging, encoding, and Jones optimality

Danvy, Olivier

Título:
Tagging, encoding, and Jones optimality
Autor:
Danvy, Olivier
Colaboradores:
Martínez López, Pablo Ernesto
Temas:
LENGUAJES DE PROGRAMACIÓNSEMÁNTICAEVALUACIÓN PARCIAL
En:
Pierpaolo Degano. European Symposium on Programming (ESOP 2003), part of European Joint Conferences on Theory and Practice of Software (ETAPS), Springer Verlag, 335-347, Lecture Notes in Computer Science (LNCS), April 2003.
Resumen:
A partial evaluator is said to be Jones-optimal if the result of specializing a self-interpreter with respect to a source program is textually identical to the source program, modulo renaming. Jones optimality has already been obtained if the self-interpreter is untyped. If the selfinterpreter is typed, however, residual programs are cluttered with type tags. To obtain the original source program, these tags must be removed. A number of sophisticated solutions have already been proposed. We observe, however, that with a simple representation shift, ordinary partial evaluation is already Jones-optimal, modulo an encoding. The representation shift amounts to reading the type tags as constructors for higherorder abstract syntax. We substantiate our observation by considering a typed self-interpreter whose input syntax is higher-order. Specializing this interpreter with respect to a source program yields a residual program that is textually identical to the source program, modulo renaming.
URL/DOI:
Medio:
Soporte electrónico
Tipo de documento:
Artículo
Idioma:
Inglés
Publicación:
, 2003

Puede solicitar más fácilmente el ejemplar con: A0067

Ver estantes

La edición contiene los siguientes documentos electrónicos para descargar:

Se cuenta con disponibilidad inmediata para llevar a domicilio.


Disponibilidad Actual Para Préstamo: 1 Disponibilidad Actual Para Sala de Lectura: 0 Cantidad Actual de Reservas: 0 Cantidad Actual de Préstamos: 0

Valoración


Comentarios (0)