A tutorial on program development and optimization using the Ciao preprocessor


Autoria(s): Bueno Carrillo, Francisco; López García, Pedro; Puebla Sánchez, Alvaro Germán; Hermenegildo, Manuel V.
Data(s)

12/01/2006

Resumo

We present in a tutorial fashion CiaoPP, the preprocessor of the Ciao multi-paradigm programming system, which implements a novel program development framework which uses abstract interpretation as a fundamental tool. The framework uses modular, incremental abstract interpretation to obtain information about the program. This information is used to validate programs, to detect bugs with respect to partial specifications written using assertions (in the program itself and/or in system libraries), to generate and simplify run-time tests, and to perform high-level program transformations such as multiple abstract specialization, parallelization, and resource usage control, all in a provably correct way. In the case of validation and debugging, the assertions can refer to a variety of program points such as procedure entry, procedure exit, points within procedures, or global computations. The system can reason with much richer information than, for example, traditional types. This includes data structure shape (including pointer sharing), bounds on data structure sizes, and other operational variable instantiation properties, as well as procedure-level properties such as determinacy, termination, non-failure, and bounds on resource consumption (time or space cost).

Formato

application/pdf

Identificador

http://oa.upm.es/14742/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/14742/1/HERME_TCREP_ANDMANS_2006-5.pdf

http://clip.dia.fi.upm.es/papers/ciaopp-tutorial.pdf

Direitos

http://creativecommons.org/licenses/by-nc-nd/3.0/es/

info:eu-repo/semantics/openAccess

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/other

Monográfico (Informes, Documentos de trabajo, etc)

PeerReviewed