XSB
Paradigm | Logic Programming |
---|---|
Designed by | David S. Warren, Terrance Swift, Kostis Sagonas |
Stable release | 5.0
/ 12 May 2022 |
OS | Cross-platform |
Filename extensions | .P |
Website | Sourceforge.net |
Influenced by | |
Prolog, PSB-Prolog, SB-Prolog |
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.[1] Unlike systems derived from Quintus, XSB uses a module system based on Prolog atoms.[1] It features tabled resolution and supports the HiLog language (permitting limited higher-order logic programming).[1] Tabling enables XSB to implement the well-founded semantics[1] and makes it suitable as a deductive database engine.[2] The open source XSB implementation includes an interface to the Python programming language.[3]
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.[1]
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.[4]
References
- ↑ 1.0 1.1 1.2 1.3 1.4 Körner, Philipp; Leuschel, Michael; Barbosa, João; Costa, Vítor Santos; Dahl, Verónica; Hermenegildo, Manuel V.; Morales, Jose F.; Wielemaker, Jan et al. (November 2022). "Fifty Years of Prolog and Beyond" (in en). Theory and Practice of Logic Programming 22 (6): 776–858. doi:10.1017/S1471068422000102. ISSN 1471-0684. https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming/article/fifty-years-of-prolog-and-beyond/3A5329B6E3639879301A6D44346FD1DD.
- ↑ Brass, Stefan; Wenzel, Mario (2019). "Performance Analysis and Comparison of Deductive Systems and SQL Databases". in Alviano, Mario. Datalog 2.0 2019. CEUR Workshop Proceedings. 2368. pp. 27–38. https://ceur-ws.org/Vol-2368/paper3.pdf.
- ↑ Andersen, Carl; Swift, Theresa (2023), "The Janus System: A Bridge to New Prolog Applications", Prolog: The Next 50 Years (Cham: Springer Nature Switzerland): pp. 93–104, ISBN 978-3-031-35253-9, http://dx.doi.org/10.1007/978-3-031-35254-6_8, retrieved 2023-11-14
- ↑ Swift, Theresa; Warren, David S. (13 May 2022). The XSB System Version 5.0.x Programmer’s Manual.
External links
Further reading
- Warren, David (2020). Programming in Tabled Prolog (Draft ed.). https://www.swi-prolog.org/download/publications/tabling-book.pdf.
- Swift, Terrance; Warren, David S. (2012). "XSB: Extending Prolog with Tabled Logic Programming" (in en). Theory and Practice of Logic Programming 12 (1–2): 157–187. doi:10.1017/S1471068411000500. ISSN 1471-0684. https://www.cambridge.org/core/product/identifier/S1471068411000500/type/journal_article.
Original source: https://en.wikipedia.org/wiki/XSB.
Read more |