-
Notifications
You must be signed in to change notification settings - Fork 2
/
ANNOUNCE-swi.txt
72 lines (40 loc) · 1.78 KB
/
ANNOUNCE-swi.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Hello,
I have released Language::Prolog::Yaswi, a Perl module that
implements a bidirectional interface between Perl and
SWI-Prolog.
It's a high level interface providing:
1.- automatic data conversion between both languages:
prolog atoms, numbers, lists, etc are transparently
converted to perl scalars, arrays, etc. and the other way
when crossing the interface.
2.- no maintenance tasks to be performed by the programmer:
all the resource allocation/deallocation, is performed
without any intervention from the programmer.
3.- Perl object system available from prolog
perl objects can be referenced from prolog and their
methods called. This also means that most modules in the
CPAN can be used from prolog with little effort.
I have uploaded the module to CPAN (it could take some time
to reach all its mirrors).
If a full perl installation is available in your system it
can be easily installed with the CPAN module:
root@cabo:~# perl -MCPAN -eshell
cpan> install Language::Prolog::Yaswi
if that doesn't work, then you would have to manually
download the package from
http://www.cpan.org/authors/id/S/SA/SALVA/Language-Prolog-Yaswi-0.02.tar.gz
and follow the instructions in the README file (note that
some other packages would be required).
After installation the programming instructions can be read
running
salva@cabo:~$ perldoc Language::Prolog::Yaswi
This is a very early release, bugs should be expected.
Threads are not supported yet
It has not been tested on Windows
Comments, suggestions, bug reports, etc. are welcome
Bye,
- Salva.
BTW, The CPAN is the Comprehensive Perl Archive Network, an
impressive repository of freely available perl modules. Take
a look at http://www.cpan.org/ or at its more user friendly
interface http://search.cpan.org/ .