Improving the compilation of prolog to C using moded types and determinism information

Morales Caballero, José Francisco; Carro Liñares, Manuel y Hermenegildo, Manuel V. (2004). Improving the compilation of prolog to C using moded types and determinism information. En: "6th International Symposium, PADL 2004", June 18-19, 2004, Dallas, TX, USA. ISBN 9783540222538.

Descripción

Título: Improving the compilation of prolog to C using moded types and determinism information
Autor/es:
  • Morales Caballero, José Francisco
  • Carro Liñares, Manuel
  • Hermenegildo, Manuel V.
Tipo de Documento: Ponencia en Congreso o Jornada (Artículo)
Título del Evento: 6th International Symposium, PADL 2004
Fechas del Evento: June 18-19, 2004
Lugar del Evento: Dallas, TX, USA
Título del Libro: Practical Aspects of Declarative Languages
Fecha: 2004
ISBN: 9783540222538
Volumen: 3057
Materias:
Escuela: Facultad de Informática (UPM) [antigua denominación]
Departamento: Inteligencia Artificial
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[img]
Vista Previa
PDF (Document Portable Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (1MB) | Vista Previa

Resumen

We describe the current status of and provide performance results for a prototype compiler of Prolog to C, ciaocc. ciaocc is novel in that it is designed to accept different kinds of high-level information, typically obtained via an automatic analysis of the initial Prolog program and expressed in a standardized language of assertions. This information is used to optimize the resulting C code, which is then processed by an off-the-shelf C compiler. The basic translation process essentially mimics the unfolding of a bytecode emulator with respect to the particular bytecode corresponding to the Prolog program. This is facilitated by a flexible design of the instructions and their lower-level components. This approach allows reusing a sizable amount of the machinery of the bytecode emulator: predicates already written in C, data definitions, memory management routines and áreas, etc., as well as mixing emulated bytecode with native code in a relatively straightforward way. We report on the performance of programs compiled by the current versión of the system, both with and without analysis information.

Más información

ID de Registro: 14373
Identificador DC: http://oa.upm.es/14373/
Identificador OAI: oai:oa.upm.es:14373
URL Oficial: http://link.springer.com/chapter/10.1007/978-3-540-24836-1_7
Depositado por: Biblioteca Facultad de Informatica
Depositado el: 30 Ene 2013 09:55
Ultima Modificación: 21 Abr 2016 14:00
  • Open Access
  • Open Access
  • Sherpa-Romeo
    Compruebe si la revista anglosajona en la que ha publicado un artículo permite también su publicación en abierto.
  • Dulcinea
    Compruebe si la revista española en la que ha publicado un artículo permite también su publicación en abierto.
  • Recolecta
  • e-ciencia
  • Observatorio I+D+i UPM
  • OpenCourseWare UPM