Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | An SWI-Prolog interface to SQLite |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 2.0 |
SHA1 sum: | 8f69f7a9f72f9e1d33b619f13bd8ddef6a777134 |
Author: | Nicos Angelopoulos http://stoics.org.uk/~nicos |
Sander Canisius http://bioinformatics.nki.nl/~canisius | |
Maintainer: | Nicos Angelopoulos http://stoics.org.uk/~nicos |
Packager: | Nicos Angelopoulos http://stoics.org.uk/~nicos |
Home page: | http://stoics.org.uk/~nicos/sware/prosqlite |
Download URL: | http://stoics.org.uk/~nicos/sware/packs/prosqlite/prosqlite-*.tgz |
This is an interface of SQLite for Prolog systems. The library was developed on SWI-Prolog under linux. It should compile easily on linux or MACs and it comes packaged with Windows binaries. It is also likely that it compiles easily on YAP Prolog.
On SWI-Prolog is higly recommended that you install from with the engine via
?- pack_install( prosqlite )
.
This takes care of everything and you can then load the library via
?- [library(prosqlite)
].
If you compile SWI from sources, rebuilt the package with
?- pack_rebuild(prosqlite)
.
If you have problems compiling from sources, edit buildenv.sh to fit your system and in a bourne-compatible shell do:
$ source env/buildenv.sh $ make
The main publication describing to this library is :
ProSQLite: Prolog file based databases via an SQLite interface Canisius Sander, Nicos Angelopoulos and Lodewyk Wessels Proc. of Practical Aspects of Declarative Languages (PADL 2013). LNCS vol. 7752, p. 222-227 .January, 2013. Rome, Italy). Doi [10.1007/978-3-642-45284-0_15]
Library web-page: http://stoics.org.uk/~nicos/sware/prosqlite
Nicos Angelopoulos, May 2022, (1.0@November 2013. 0.1@August 2012)
Pack contains 24 files holding a total of 372K bytes.
Minor problem on mac os x lion: I had to add a -L argument to building.sh to make the installation succeed:
SWISOLIB='-L/Users/lourens/lib/swipl-6.3.15/lib/x86_64-darwin11.4.2 -lswipl'