Logtalk 2.22.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1218 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,26 +1,37 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.22.1
|
||||
Release 2.22.2
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
This folder contains a Prolog file, "libpaths.pl", which defines the
|
||||
library paths for the Logtalk standard library and for all the supplied
|
||||
examples.
|
||||
This folder contains a Prolog file, "libpaths.pl", which, when loaded,
|
||||
defines the library paths for the Logtalk standard library and for all
|
||||
the supplied examples. You may customize this file by adding the paths
|
||||
to your own "libraries" in order to easily load your own source code.
|
||||
|
||||
In order to easily compile and load library and example source files
|
||||
using the notation <library>(<entity>), you will need to load the
|
||||
"libpaths.pl" into your Prolog compiler after loading the Logtalk
|
||||
compiler/runtime. You might need to edit the "libpaths.pl" file in
|
||||
order to adapt it to reflect your Logtalk installation and your Prolog
|
||||
compiler and operating-system requirements. As defined, the provided
|
||||
"libpaths.pl" file is already compatible with some of the most popular
|
||||
Prolog compilers, running on both on Windows, Unix, and Unix-like
|
||||
operating-systems. The Prolog integration scripts found on the "misc"
|
||||
directory generate scripts and shortcuts that automatically load the
|
||||
copy of the "libpaths.pl" file from the Logtalk end-user directory
|
||||
created by the "misc/cplgtdirs.*" scripts. See the "INSTALL" and the
|
||||
"misc/NOTES" files for more details. Note that a few Prolog compilers
|
||||
do not support the <library>(<entity>) notation. See the "configs/NOTES"
|
||||
file for details.
|
||||
In order to easily compile and load library and example source files using
|
||||
the notation <library>(<entity>), you will need to load the "libpaths.pl"
|
||||
into your Prolog compiler after loading the Logtalk compiler/runtime.
|
||||
|
||||
You might need to edit the "libpaths.pl" file in order to adapt it to reflect
|
||||
your Logtalk installation and your Prolog compiler and operating-system
|
||||
requirements (for example, some Prolog compilers do not accept or expand
|
||||
environment variables ocurring on paths).
|
||||
|
||||
As defined, the provided "libpaths.pl" file is already compatible with some
|
||||
of the most popular Prolog compilers, running on both Windows, Unix, and
|
||||
Unix-like operating-systems.
|
||||
|
||||
The Prolog integration scripts found on the "misc" directory generate scripts
|
||||
and shortcuts that automatically load the copy of the "libpaths.pl" file from
|
||||
the Logtalk end-user directory created by the "misc/cplgtdirs.*" scripts. See
|
||||
the "INSTALL" and the "misc/NOTES" files for more details. Note that a few
|
||||
Prolog compilers do not support the <library>(<entity>) notation. See the
|
||||
"configs/NOTES" file for details.
|
||||
|
||||
The somehow contrived code found on the "libpaths.pl" file is needed to ensure
|
||||
compatibility with both the ISO Prolog standard and with most Prolog compilers.
|
||||
The code could be greatly simplified by using a multifile predicate directive
|
||||
for the library path dynamic predicate. Unfortunately, not all Prolog compilers
|
||||
support multifile predicates.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.22.1
|
||||
% Release 2.22.2
|
||||
%
|
||||
% Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
Reference in New Issue
Block a user