liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Locating type errors in untyped CLP programs
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology. Institute of Computer Science, Polish Academy of Sciences, Warszawa, Poland.
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology.
Linköping University, Department of Computer and Information Science. Linköping University, The Institute of Technology.
2000 (English)In: Analysis and Visualization Tools for Constraint Programming: Constraint Debugging / [ed] Pierre Deransart, Manuel V. Hermenegildo, Jan Małuszynski, Springer Berlin/Heidelberg, 2000, Vol. 1870, p. 121-150Chapter in book (Refereed)
Abstract [en]

This chapter presents a static diagnosis tool that locates type errors in untyped CLP programs without executing them. The exciting prototype is specialised for the programming language CHIP [4.10], but the idea applies to any CLP language. The tool works with approximated specifications which describe types of procedure calls and successes. The specifications ar expressed as a certain kind of term grammars. The tool automatically locates at compile time all the errors (with respect to a given specification) in a program. The located erroneous program fragments ar (prefixes of ) clauses. The tool aids the user in constructing specifications incrementally; often a fragment of the specification is already sufficient to locate an error. The presentation is informal. The focus is on the motivation of this work and on the functionality of the tool. Some related formal aspects ar discussed in [4.15, 4.29].

Place, publisher, year, edition, pages
Springer Berlin/Heidelberg, 2000. Vol. 1870, p. 121-150
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 1870
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:liu:diva-48164DOI: 10.1007/10722311_5Libris ID: r41jqctjp8nwbhfdISBN: 9783540411376 (print)ISBN: 9783540400165 (print)ISBN: 3540411372 (print)OAI: oai:DiVA.org:liu-48164DiVA, id: diva2:269060
Available from: 2009-10-11 Created: 2009-10-11 Last updated: 2020-11-05Bibliographically approved
In thesis
1. A type-based framework for locating errors in constraint logic programs
Open this publication in new window or tab >>A type-based framework for locating errors in constraint logic programs
2002 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

This thesis presents a method for automatic location of type errors in constraint logic programs (CLP) and a prototype debugging tool. The appriach is based on techniques of verification and static analysis iriginating from logic programming, which are substantially extended in the thesis. The main idea is to verify partial correctness of a program with respect to a given specification which is intended to describe (an approximation of) the call-success semantics of the program. This kind of specification, describing calls and successes for every predicate of a program is known as descriptive directional type. For specifying types for CLP programs the thesis extends the formalism of regular discriminative types with constraint-domain-specific base types and with parametric polymorphism.

Errors are located by identifying program points that violate verification conditions for a given type specification. The Specifications may be developed interactively taking into account the results of static analysis.

The main contributions of the thesis are:

  • a verification method for proving partial correctness of CLP programs with respect to polymorphic spicifications of the call-success semantics,
  • a specification language for defining parametric regular types,
  • a verification-based method for locating errors in CLP programs,
  • a static analysis method for CLP which is an adaptation and generalization of techniques previously devised for logic programming; its implementation is used in our diagnosis tool for synthesizing draft specifications,
  • an implementation of the prototype diagnosis tool (called TELL).

Place, publisher, year, edition, pages
Linköping: Linköpings universitet, 2002. p. 22
Series
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 772
National Category
Computer Sciences
Identifiers
urn:nbn:se:liu:diva-35577 (URN)27725 (Local ID)91-7373-422-5 (ISBN)27725 (Archive number)27725 (OAI)
Public defence
2002-09-13, Estraden seminarierum, Hus E, Linköpings universitet, Linköping, 13:15 (Swedish)
Available from: 2009-10-10 Created: 2009-10-10 Last updated: 2018-01-13

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textfind book at a swedish library/hitta boken i ett svenskt bibliotekläs utdragfind book in another country/hitta boken i ett annat landhttp://libris.kb.se/bib/r41jqctjp8nwbhfd

Authority records

Drabent, WlodzimierzMaluszynski, JanPietrzak, Pawel

Search in DiVA

By author/editor
Drabent, WlodzimierzMaluszynski, JanPietrzak, Pawel
By organisation
Department of Computer and Information ScienceThe Institute of Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 112 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf