2001-06-06 20:40:57 +01:00
|
|
|
=================================================================
|
|
|
|
Logtalk - Object oriented extension to Prolog
|
2004-12-05 21:52:49 +00:00
|
|
|
Release 2.22.1
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2004-02-09 14:18:27 +00:00
|
|
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
2001-06-06 20:40:57 +01:00
|
|
|
=================================================================
|
|
|
|
|
2004-06-13 19:04:28 +01:00
|
|
|
|
2004-07-25 19:47:43 +01:00
|
|
|
This folder contains some useful objects, categories, and protocols.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
To load a group of objects, protocols, and categories in this library
|
2004-11-29 20:36:31 +00:00
|
|
|
either change your Prolog working directory to this folder and then
|
|
|
|
compile and load the corresponding loader utility file or simply use
|
|
|
|
the notation library(<loader file>) as argument for the compiling and
|
|
|
|
loading predicates. For example:
|
|
|
|
|
|
|
|
| ?- logtalk_load(library(random_loader)).
|
|
|
|
|
|
|
|
Currently, there are eight groups of entities defined, each one with
|
|
|
|
a loader and a notes file:
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
dates
|
2004-06-13 19:04:28 +01:00
|
|
|
dates_loader.lgt
|
|
|
|
dates.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
debugging
|
2004-06-13 19:04:28 +01:00
|
|
|
debugging_loader.lgt
|
|
|
|
debugging.notes
|
|
|
|
|
2003-12-30 13:33:51 +00:00
|
|
|
dependents
|
2004-06-13 19:04:28 +01:00
|
|
|
dependents_loader.lgt
|
|
|
|
dependents.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
events
|
2004-06-13 19:04:28 +01:00
|
|
|
events_loader.lgt
|
|
|
|
events.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
hierarchies
|
2004-06-13 19:04:28 +01:00
|
|
|
hierarchies_loader.lgt
|
|
|
|
hierarchies.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
metapredicates
|
2004-06-13 19:04:28 +01:00
|
|
|
metapredicates_loader.lgt
|
|
|
|
metapredicates.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
random
|
2004-06-13 19:04:28 +01:00
|
|
|
random_loader.lgt
|
|
|
|
random.notes
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
types
|
2004-06-13 19:04:28 +01:00
|
|
|
types_loader.lgt
|
|
|
|
types.notes
|
|
|
|
|
|
|
|
There is also a file named all_loader.lgt that will load all entities in the
|
2004-11-29 20:36:31 +00:00
|
|
|
groups listed above. Simply type the goal:
|
2001-12-05 23:57:48 +00:00
|
|
|
|
2004-11-29 20:36:31 +00:00
|
|
|
| ?- logtalk_load(library(all_loader)).
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2004-07-25 19:47:43 +01:00
|
|
|
Specific notes about each group of objects, categories, and protocols can be
|
|
|
|
found in the corresponding *.notes files.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2004-07-25 19:47:43 +01:00
|
|
|
Some of the files contained in this directory represent work in progress and
|
|
|
|
are not loaded by default by any loader utility file.
|
2001-12-05 23:57:48 +00:00
|
|
|
|
2004-07-25 19:47:43 +01:00
|
|
|
Some of the code in this library is based on public domain Prolog code, in
|
|
|
|
particular, code adopted from the Edinburgh Prolog library. The definition
|
2003-06-26 15:52:54 +01:00
|
|
|
of predicate reverse/2 in object list is from Richard O'Keefe and can be found
|
|
|
|
in its book "The Craft of Prolog".
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2002-08-26 17:45:50 +01:00
|
|
|
By default, compiling any group of entities described above generates a .xml
|
|
|
|
documenting file for each compiled entity (object, category, or protocol).
|
|
|
|
See the xml sub-directory for instructions on how to browse the .xml files
|
2004-07-25 19:47:43 +01:00
|
|
|
for on-line reading or how to convert the files to a print-ready format such
|
|
|
|
as PDF.
|
2002-08-26 17:45:50 +01:00
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
All source files are formatted using four-spaces tabs.
|