root/trunk/libpaths/NOTES.txt

Revision 4572, 2.7 KB (checked in by pmoura, 2 weeks ago)

Updated the Logtalk version number to 2.33.3 in preparation for the next release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.33.3
4
5Copyright (c) 1998-2008 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11This folder contains a Prolog file, "libpaths.pl", which, when loaded,
12defines the library paths for the Logtalk standard library and for all
13the supplied examples. You may customize this file by adding the paths
14to your own "libraries" in order to easily load your own source code.
15
16In order to easily compile and load library and example source files using
17the notation <library>(<entity>), you will need to load the "libpaths.pl"
18into your Prolog compiler after loading the Logtalk compiler/runtime.
19
20You might need to edit the "libpaths.pl" file in order to adapt it to
21reflect your Logtalk installation, Prolog compiler, and operating-system
22requirements (for example, some Prolog compilers do not accept or expand
23environment variables occurring on paths).
24
25As defined, the provided "libpaths.pl" file is already compatible with
26some of the most popular Prolog compilers, running on MacOS X, Linux,
27Windows, Unix, and Unix-like operating-systems.
28
29The Prolog integration scripts, found on the "integration" directory,
30automatically load the copy of the "libpaths.pl" file from the Logtalk
31end-user directory created by the "scripts/cplgtdirs.*" scripts. See the
32"INSTALL.txt" and "scripts/NOTES.txt" files for more details. Note that
33some Prolog compilers do not support the <library>(<entity>) notation.
34See the "configs/NOTES.txt" file for details.
35
36The somehow contrived code found on the "libpaths.pl" file is needed to
37ensure compatibility with both the ISO Prolog standard and with most
38Prolog compilers. The code could be greatly simplified by using a multifile
39predicate directive for the library path dynamic predicate. Unfortunately,
40not all Prolog compilers support multifile predicates.
41
42Prolog compilers that are expected to be compatible with the provided
43"libpaths.pl" file as is, across operating-systems:
44
45    * B-Prolog
46    * CIAO
47    * CxProlog
48    * ECLiPSe
49    * GNU-Prolog
50    * K-Prolog
51    * Qu-Prolog
52    * SICStus Prolog
53    * SWI-Prolog
54    * YAP
55    * XSB
56
57Prolog compilers that imply editing the provided "libpaths.pl" file due
58to the lack of support for expanding environment variables on paths (just
59replace the environment variable LOGTALKUSER by the actual path to your
60Logtalk user folder):
61
62    * Amzi! Prolog
63    * IF/Prolog
64    * JIProlog
65    * Quintus Prolog
66
67Feedback on other Prolog compilers is most appreciated.
Note: See TracBrowser for help on using the browser.