Main > Programming > Libraries >

Language::XSB 0.14

Language::XSB 0.14

Sponsored Links

Language::XSB 0.14 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.014 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 874
Date added: 2007-06-12
Publisher: Salvador Fandiño

Language::XSB 0.14 description

Language::XSB is a Perl module that allows you to use XSB from Perl.

SYNOPSIS

use Language::XSB :query;
use Language::Prolog::Types::overload;
use Language::Prolog::Sugar vars=>[qw(X Y Z)],
functors=>{equal => =},
functors=>[qw(is)],
chains=>{plus => +,
orn => ;};

xsb_set_query( equal(X, 34),
equal(Y, -12),
is(Z, plus( X,
Y,
1000 )));

while(xsb_next()) {
printf("X=%d, Y=%d, Z=%dn",
xsb_var(X), xsb_var(Y), xsb_var(Z))
}

print join("n", xsb_find_all(orn(equal(X, 27),
equal(X, 45)), X)), "n";

ABSTRACT

Language::XSB provides a bidirectional interface to XSB (http://xsb.sourceforge.net/).

From the XSB manual:

XSB is a research-oriented Logic Programming and Deductive
Database System developed at SUNY Stony Brook. In addition to
providing all the functionality of Prolog, it contains
features not usually found in Logic Programming Systems such
as evaluation according to the Well Founded Semantics through
full SLG resolution, constraint handling for tabled programs,
a compiled HiLog implementation, unification factoring and
interfaces to other systems such as ODBC, C, Java, Perl, and
Oracle

This package implements a bidirectional interface to XSB, thats means that Perl can call XSB that can call Perl back that can call XSB again, etc.:

Perl -> XSB -> Perl -> XSB -> ...

(Unfortunately, you have to start from Perl, XSB->Perl->... is not possible.)
The interface to XSB is based on the objects created by the package Language::Prolog::Types. You can also use Language::Prolog::Sugar package, a front end for the types package to improve the look of your source (just some syntactic sugar).

To make queries to XSB you have to set first the query term with the function xsb_set_query, and then use xsb_next and xsb_result to iterate over it and get the results back.

Only one query can be open at any time, unless when Perl is called back from XSB, but then the old query is not visible.

Language::XSB 0.14 Screenshot

Advertisements

Language::XSB 0.14 Keywords

Bookmark Language::XSB 0.14

Hyperlink code:
Link for forum:

Language::XSB 0.14 Copyright

WareSeeker periodically updates pricing and software information of Language::XSB 0.14 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Language::XSB 0.14 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Language::Logo Perl module is an implementation of the Logo programming language. Free Download
Hub::Perl::Language is a Perl module that contains a lot of methods. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
Relations is a Perl module with functions to use with databases and queries. Free Download
Bio::Phylo::Manual is a Perl module that contains a Bio::Phylo v.0.14 user guide. Free Download
Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML. Free Download
Image::WorldMap is a Perl module to create graphical world maps of data. Free Download
whohas is a command line tool that allows querying several package lists at once. Free Download