Questions tagged [xsb]

XSB is a Prolog dialect 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 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 (a standard extension of Prolog permitting limited higher-order logic programming).

The open source XSB implementation includes an interface to the Java programming language.

XSB was originally developed at Stony Brook University by David S. Warren, Terrance Swift, and Kostis Sagonas. It was based on the SB-Prolog language that was also developed at Stony Brook University in 1986. It is a logic programming language.

Syntax

XSB supports several standard programming language 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.

Atoms are similar to Strings. They are a sequence of characters.

Source:http://en.wikipedia.org/wiki/XSB

35 questions
0
votes
0 answers

XSB error#126 load pcre dlls

I’m using Win64 XSB in Eclipse with Pro-DT. I’m getting an error loading the native lib when trying to use pcre: (On first use it also compiled without error.) [pcretest loaded] [pcre loaded] [pcreconfig loaded] +Warning[XSB]: [Runtime/C] Cannot…
TheLazyDogsBack
  • 197
  • 1
  • 11
0
votes
0 answers

map DTD to a Datalog program

Can anyone help me write a Datalog program which is an equivalent of a given DTD. DTD : ]> Also are there any specific rules that we need to follow while…
user2946704
  • 314
  • 2
  • 4
  • 14
0
votes
1 answer

for XSB prolog,regarding error

whatever simple code , I am running in Xsb prolog using Eclipse IDE , It is showing me error like this: ++Error[XSB/Runtime/P]: [Existence (No procedure usermod : demo / 1 exists)] [] Forward Continuation... ... machine:xsb_backtrace/1 ...…
nrm
  • 3
  • 1
0
votes
1 answer

XSB Prolog: write my own setof function

I need to get, from a keyboard input (list), a list without duplicates but without using the inbuild setof (or any other inbuild functions) in XSB prolog. How do i write my own setof function? Input and output should look like this: …
0
votes
2 answers

Where is the heaps.P library in XSB Prolog?

The XSB documentation has a paragraph about a heap data structure library, in the manual volume 2 Section 1.16.5. But I can't find any sign of the library, either in the source, or the version history, or via Google. Any ideas if this library…
Alex Iliev
  • 41
  • 1
1 2
3