A Web-based Tool Combining Different Type Analyses

Kim Steen Henriksen, John Patrick Gallagher

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review


There are various kinds of type analysis of logic programs. These include for example inference of types that describe an over-approximation of the success set of a program, inference of well-typings, and abstractions based on given types. Analyses can be descriptive or prescriptive or a mixture of both, and they can be goal-dependent or goal-independent. We describe a prototype tool that can be accessed from a web browser, allowing various type analyses to be run. The first goal of the tool is to allow
the analysis results to be examined conveniently by clicking on points in the original
program clauses, and to highlight ill-typed program constructs, empty types or other type anomalies. Secondly the tool allows combination of the various styles of analysis. For example, a descriptive regular type can be automatically inferred for a given program, and then that type can be used to generate the minimal "domain model" of the program with respect to the corresponding pre-interpretation, which can give more precise information than the original descriptive type.
Original languageEnglish
Title of host publicationWLPE-06: Workshop on Logic-Based methods in Programming Environments : ICLP-06 Workshop
EditorsWim Vanhoof, Susana Hernández
Number of pages12
Publication date2006
Publication statusPublished - 2006
EventThe 2006 Federated Logic Conference - Seattle, United States
Duration: 10 Aug 200622 Aug 2006


ConferenceThe 2006 Federated Logic Conference
Country/TerritoryUnited States

Cite this