XSB explained

XSB
File Ext:.P
Paradigm:Logic Programming
Designer:David S. Warren, Terrance Swift, Kostis Sagonas
Latest Release Version:5.0
Influenced By:Prolog, PSB-Prolog, SB-Prolog
Operating System:Cross-platform
Website:Sourceforge.net

XSB is the name of a dialect of the Prolog programming language and its implementation developed at Stony Brook University in collaboration with the Katholieke Universiteit Leuven, the New University of Lisbon, Uppsala University and software vendor XSB, Inc.

XSB extends Prolog with tabled resolution and HiLog.

Features

XSB is a compiled dialect of Prolog based on the Warren Abstract Machine. Unlike systems derived from Quintus, XSB uses a module system based on Prolog atoms. It features tabled resolution and supports the HiLog language (permitting limited higher-order logic programming). Tabling enables XSB to implement the well-founded semantics and makes it suitable as a deductive database engine.[1] The open source XSB implementation includes an interface to the Python programming language.

History

XSB was originally developed at Stony Brook University by David S. Warren, Terrance Swift, and Kostis Sagonas and launched in 1993-4. It was based on the SB-Prolog language that was also developed at Stony Brook University in 1986, and it was the first implementation of tabled resolution.[2]

Syntax

XSB supports the ISO-mandated Prolog data types such as integers, floating point numbers, and atoms. Integers in XSB can be interpreted in multiple bases. By default integers are interpreted in base 10 but can be interpreted in a range of bases from 2 to 36.[3]

See also

Further reading

External links

Notes and References

  1. 2019 . Performance Analysis and Comparison of Deductive Systems and SQL Databases . Datalog 2.0 2019 . Brass . Stefan . Alviano . Mario . CEUR Workshop Proceedings . 2368 . 2738 . Wenzel . Mario.
  2. Körner . Philipp . Leuschel . Michael . Barbosa . João . Costa . Vítor Santos . Dahl . Verónica . Hermenegildo . Manuel V. . Morales . Jose F. . Wielemaker . Jan . Diaz . Daniel . Abreu . Salvador . Ciatto . Giovanni . November 2022 . Fifty Years of Prolog and Beyond . Theory and Practice of Logic Programming . en . 22 . 6 . 776–858 . 10.1017/S1471068422000102 . 1471-0684. free . 2201.10816 .
  3. Book: Swift, Theresa . The XSB System Version 5.0.x Programmer’s Manual . Warren . David S. . 13 May 2022.