Projects / TCLP

TCLP

TCLP is a type checker for Prolog dialects. It is written in SICStus Prolog. Its goal is to statically trap programming errors like illegal arguments used in a call for a predicate or illegally built data structures with respect to a given typing for function symbols or predicates. TCLP is also capable of type inference for user predicates. Supported dialects include ISO-Prolog, GNU-Prolog, and SICStus Prolog.

Tags Software Development Compilers Bug Tracking
Licenses LGPL
Operating Systems POSIX Linux Mac OS X
Implementation Prolog

Tweet this project Short link

Rss Recent releases

Changes: This release added the possibility to add type aliases. That is, to declare and use names as shortcuts for types in type declarations.

Changes: The speed of type inference has been improved for large programs with a lot of mutually recursive predicates. TCLP now tries to type check prolog files for modules that don't have .typ files. The error messages have been updated so they can be understood by Emacs in a compilation buffer.

Changes: A cache system was implemented in order to speed up the initialization of TCLP. This release also contains two bugfixes: it correctly prints errors of typeof declarations, and prints names correctly when encountering an error with --option nodefault.

Changes: DCG expansion has been added. TCLP now prints the type of variables when finding an error in a clause.

Changes: In this release, a speed improvement was achieved thanks to the elimination and the simplification of various type constraints. There were also some bugfixes, both in libraries and in the type checker.

62595b15d0b50e1ca76042bb8ec3d6a7_thumb

Project Spotlight

Zeus Java Swing Components Library

A Java Swing components (widgets) library.

No-screenshot

Project Spotlight

MIB Smithy SDK

Tcl extension for SNMPv1/v2c/v3 management and custom MIB compiler development.