Download PDF

Logic Programming, Date: 2008/12/09 - 2008/12/13, Location: Udine, Italy

Publication date: 2008-01-01
Volume: 5366 Pages: 693 - 697
ISSN: 3540899812, 978-3-540-89981-5
Publisher: Springer

Lecture notes in computer science

Author:

Schrijvers, Tom
Santos Costa, Vitor ; Wielemaker, Jan ; Demoen, Bart

Keywords:

Science & Technology, Technology, Computer Science, Artificial Intelligence, Computer Science, Theory & Methods, Computer Science

Abstract:

Prolog is traditionally not statically typed. Since the benefits of static typing are huge, it was decided to grow a portable type system inside two widely used open source Prolog systems: SWI-Prolog and Yap. This requires close cooperation and agreement between the two systems. The type system is Hindley-Milner. The main characteristics of the introduction of types in SWI and Yap are that typing is not mandatory, that typed and untyped code can be mixed, and that the type checker can insert dynamic type checks at the boundaries between typed and untyped code. The basic decisions and the current status of the Typed Prolog project are described, as well as the remaining tasks and problems to be solved.