Logtalk 2.21.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1162 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
ac9770bdf3
commit
eb05d95935
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -12,7 +12,8 @@ and copying the resulting directory to a suitable location.
|
|||||||
The Logtalk directory can reside in any user accessible location.
|
The Logtalk directory can reside in any user accessible location.
|
||||||
This location depends on the working environment and on the number of users.
|
This location depends on the working environment and on the number of users.
|
||||||
The "misc" sub-directory contains some shell scripts for easy installation
|
The "misc" sub-directory contains some shell scripts for easy installation
|
||||||
of Logtalk on Windows, Unix and Unix-like operating systems.
|
of Logtalk on Windows, Unix, and Unix-like operating systems (for details,
|
||||||
|
see the misc/NOTES file).
|
||||||
|
|
||||||
|
|
||||||
INSTALLING FOR A SINGLE USER
|
INSTALLING FOR A SINGLE USER
|
||||||
@ -50,12 +51,12 @@ execution path.
|
|||||||
|
|
||||||
If you use a csh shell, add the following line to your ~/.cshrc file:
|
If you use a csh shell, add the following line to your ~/.cshrc file:
|
||||||
|
|
||||||
setenv LOGTALKHOME /your/installation/directory/lgt2211
|
setenv LOGTALKHOME /your/installation/directory/lgt2212
|
||||||
setenv PATH $PATH:$LOGTALKHOME/xml:$LOGTALKHOME/misc
|
setenv PATH $PATH:$LOGTALKHOME/xml:$LOGTALKHOME/misc
|
||||||
|
|
||||||
If you use a bash shell, add the following lines to your ~/.profile file:
|
If you use a bash shell, add the following lines to your ~/.profile file:
|
||||||
|
|
||||||
LOGTALKHOME=/your/installation/directory/lgt2211
|
LOGTALKHOME=/your/installation/directory/lgt2212
|
||||||
export LOGTALKHOME
|
export LOGTALKHOME
|
||||||
PATH=$PATH:$LOGTALKHOME/xml:$LOGTALKHOME/misc
|
PATH=$PATH:$LOGTALKHOME/xml:$LOGTALKHOME/misc
|
||||||
export PATH
|
export PATH
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -48,8 +48,8 @@ the Logtalk web site or send an email message to:
|
|||||||
|
|
||||||
with the following information:
|
with the following information:
|
||||||
|
|
||||||
email address, full name, organization, organization type
|
email address, full name, organization, organization type (education,
|
||||||
(education, commercial, government,...), prolog compilers used (optional),
|
commercial, government, ...), prolog compilers used (optional),
|
||||||
platforms (mac, pc, unix,...) (optional)
|
platforms (mac, pc, unix,...) (optional)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -10,6 +10,23 @@ RELEASE NOTES
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
2.21.2 - October 18, 2004
|
||||||
|
|
||||||
|
Added support for declaring grammar rule non-terminals as public, protected,
|
||||||
|
private, dynamic, or discontiguous using the notation Functor//Arity. Added
|
||||||
|
support for documenting non-terminals using the info/2 and mode/2 directives.
|
||||||
|
|
||||||
|
Added support for a new alias/1 predicate property.
|
||||||
|
|
||||||
|
New experimental config file for JIProlog 3.0 (see the configs/NOTES file
|
||||||
|
for details).
|
||||||
|
|
||||||
|
Added a mode bundle for the TextMode 1.0.x (MacOS X) text editor providing
|
||||||
|
syntax highlighting, folding, and code snippets for editing Logtalk source
|
||||||
|
files. Corrected a bug in the syntax coloring of the :-/1-2 operator on the
|
||||||
|
SubEthaEdit 2.x text editor.
|
||||||
|
|
||||||
|
|
||||||
2.21.1 - September 27, 2004
|
2.21.1 - September 27, 2004
|
||||||
|
|
||||||
Added experimental support for a new built-in method, expand_term/2, which
|
Added experimental support for a new built-in method, expand_term/2, which
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -85,3 +85,7 @@ list, and difflist (replaced by the predicates nth0/3 and nth1/3).
|
|||||||
Logtalk version 2.20.0 updates the semantics of the uses/1 entity directive
|
Logtalk version 2.20.0 updates the semantics of the uses/1 entity directive
|
||||||
to accept as argument a single object identifier (this change is needed in
|
to accept as argument a single object identifier (this change is needed in
|
||||||
order to ensure compatibility with the new uses/2 predicate directive).
|
order to ensure compatibility with the new uses/2 predicate directive).
|
||||||
|
|
||||||
|
Logtalk version 2.21.2 adds a new clause to the code generated when compiling
|
||||||
|
entity in order to support the new alias/1 predicate property, implying
|
||||||
|
recompilation of all objects, protocols, and categories.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -48,3 +48,20 @@ yes
|
|||||||
|
|
||||||
Radius = 3
|
Radius = 3
|
||||||
yes
|
yes
|
||||||
|
|
||||||
|
| ?- circle(3)::predicate_property(r(_), Property).
|
||||||
|
|
||||||
|
Property = public ;
|
||||||
|
Property = static ;
|
||||||
|
Property = declared_in(ellipse(_G266, _G267)) ;
|
||||||
|
Property = defined_in(ellipse(_G299, _G300)) ;
|
||||||
|
Property = alias(rx(_G177))
|
||||||
|
yes
|
||||||
|
|
||||||
|
| ?- circle(3)::predicate_property(rx(_), Property).
|
||||||
|
|
||||||
|
Property = public ;
|
||||||
|
Property = static ;
|
||||||
|
Property = declared_in(ellipse(_G261, _G262)) ;
|
||||||
|
Property = defined_in(ellipse(_G292, _G293))
|
||||||
|
yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -133,8 +133,8 @@ yes
|
|||||||
|
|
||||||
% double bypass using the {}/1 control constructs of grammar rules and Logtalk:
|
% double bypass using the {}/1 control constructs of grammar rules and Logtalk:
|
||||||
|
|
||||||
| ?- bypass::foo(_, _).
|
| ?- bypass::phrase(foo, _, _).
|
||||||
|
|
||||||
bar predicate called
|
bar predicate called
|
||||||
yes
|
yes
|
||||||
|
|
||||||
|
@ -5,7 +5,10 @@ bar :-
|
|||||||
|
|
||||||
:- object(bypass).
|
:- object(bypass).
|
||||||
|
|
||||||
:- public(foo/2).
|
:- public(foo//0).
|
||||||
|
:- mode(foo, one).
|
||||||
|
:- info(foo//0, [
|
||||||
|
comment is 'Just the almighty and famous old foo.']).
|
||||||
|
|
||||||
foo --> {{bar}}.
|
foo --> {{bar}}.
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
:- category(determiners).
|
:- category(determiners).
|
||||||
|
|
||||||
|
|
||||||
:- private(determiner/2).
|
:- private(determiner//0).
|
||||||
|
|
||||||
determiner --> [the].
|
determiner --> [the].
|
||||||
determiner --> [a].
|
determiner --> [a].
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
:- category(nouns).
|
:- category(nouns).
|
||||||
|
|
||||||
|
|
||||||
:- private(noun/2).
|
:- private(noun//0).
|
||||||
|
|
||||||
noun --> [boy].
|
noun --> [boy].
|
||||||
noun --> [girl].
|
noun --> [girl].
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
:- category(verbs).
|
:- category(verbs).
|
||||||
|
|
||||||
|
|
||||||
:- private(verb/2).
|
:- private(verb//0).
|
||||||
|
|
||||||
verb --> [likes].
|
verb --> [likes].
|
||||||
verb --> [hates].
|
verb --> [hates].
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -105,6 +105,6 @@ yes
|
|||||||
% try a message 1000 times and return the average time:
|
% try a message 1000 times and return the average time:
|
||||||
|
|
||||||
| ?- timer::timer(list::length([1, 2, 3], _), 1000, Time).
|
| ?- timer::timer(list::length([1, 2, 3], _), 1000, Time).
|
||||||
Time = 0.00008
|
Time = 0.00003
|
||||||
|
|
||||||
yes
|
yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -84,6 +84,9 @@ S = [s(mary,english,red,1),s(paul,math,yellow,2),s(josephine,science,green,3),s(
|
|||||||
|
|
||||||
yes
|
yes
|
||||||
|
|
||||||
|
|
||||||
|
% Mort's Letter from Camp Swampy logical puzzle
|
||||||
|
|
||||||
| ?- camp_swampy::(beds(S), print(S)).
|
| ?- camp_swampy::(beds(S), print(S)).
|
||||||
tim thomas, from maine, sleeps on bed number 1
|
tim thomas, from maine, sleeps on bed number 1
|
||||||
sam franklin, from north_carolina, sleeps on bed number 2
|
sam franklin, from north_carolina, sleeps on bed number 2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.21.1
|
Release 2.21.2
|
||||||
|
|
||||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -69,6 +69,19 @@
|
|||||||
<dt class="glossary"><strong>event</strong><a name="event"></a></dt>
|
<dt class="glossary"><strong>event</strong><a name="event"></a></dt>
|
||||||
<dd>The sending of a message to an object. An event can be expressed as an ordered tuple: <code>(Event, Object, Message, Sender)</code>. Logtalk distinguish between the sending of a message - <code>before</code> event - and the return of control to the sender - <code>after</code> event.</dd>
|
<dd>The sending of a message to an object. An event can be expressed as an ordered tuple: <code>(Event, Object, Message, Sender)</code>. Logtalk distinguish between the sending of a message - <code>before</code> event - and the return of control to the sender - <code>after</code> event.</dd>
|
||||||
|
|
||||||
|
<dt class="glossary"><strong>grammar rule</strong><a name="grammar_rule"></a></dt>
|
||||||
|
<dd>An alternative notation for predicates used to parse or generate sentences on some language. This notation hides the arguments used to pass the lists of tokens being processed, thus simplifying the representation of grammars. Grammar rules are represented using the infix operator <code>-->/2</code> instead of the operator used on predicate clauses (<code>:-/2</code>).</dd>
|
||||||
|
|
||||||
|
<dd><dl>
|
||||||
|
|
||||||
|
<dt class="glossary"><strong>grammar rule non-terminal</strong><a name="non_terminal"></a></dt>
|
||||||
|
<dd>A syntactic category of words of phrases. A non-terminal is identified by its name and number of arguments using the notation <code><name>//<nargs></code>.</dd>
|
||||||
|
|
||||||
|
<dt class="glossary"><strong>grammar rule terminal</strong><a name="terminal"></a></dt>
|
||||||
|
<dd>A word or a basic symbol of a language.</dd>
|
||||||
|
|
||||||
|
</dl></dd>
|
||||||
|
|
||||||
<dt class="glossary"><strong>identity</strong><a name="identity"></a></dt>
|
<dt class="glossary"><strong>identity</strong><a name="identity"></a></dt>
|
||||||
<dd>Property of an entity that distinguish it from every other entity. In Logtalk an entity identity can be an atom or a compound term. All Logtalk entities, objects, protocols and categories share the same name space.</dd>
|
<dd>Property of an entity that distinguish it from every other entity. In Logtalk an entity identity can be an atom or a compound term. All Logtalk entities, objects, protocols and categories share the same name space.</dd>
|
||||||
|
|
||||||
@ -177,7 +190,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: July 22, 2004</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 5, 2004</span></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||||
<title>Logtalk 2.21.1 Documentation</title>
|
<title>Logtalk 2.21.2 Documentation</title>
|
||||||
<link rel="stylesheet" href="styles.css" type="text/css" />
|
<link rel="stylesheet" href="styles.css" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1>Logtalk 2.21.1 Documentation</h1>
|
<h1>Logtalk 2.21.2 Documentation</h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><h2><a href="userman/index.html">User Manual</a></h2></li>
|
<li><h2><a href="userman/index.html">User Manual</a></h2></li>
|
||||||
@ -37,7 +37,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: September 27, 2004</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 10, 2004</span></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -24,18 +24,23 @@
|
|||||||
<h4>Description</h4>
|
<h4>Description</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>discontiguous(Predicate)
|
<pre>discontiguous(Functor/Arity)
|
||||||
discontiguous(Predicate1, Predicate2, ...)
|
discontiguous(Functor1/Arity1, Functor2/Arity2, ...)
|
||||||
discontiguous([Predicate1, Predicate2, ...])</pre>
|
discontiguous([Functor1/Arity1, Functor2/Arity2, ...])
|
||||||
|
|
||||||
|
discontiguous(Functor//Arity)
|
||||||
|
discontiguous(Functor1//Arity1, Functor2//Arity2, ...)
|
||||||
|
discontiguous([Functor1//Arity1, Functor2//Arity2, ...])</pre>
|
||||||
<p>
|
<p>
|
||||||
Declares discontiguous predicates.
|
Declares discontiguous predicates and discontiguous grammar rule non-terminals.
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h4>Template and modes</h4>
|
<h4>Template and modes</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>discontiguous(+predicate_indicator_term)</pre>
|
<pre>discontiguous(+predicate_indicator_term)
|
||||||
|
discontiguous(+non_terminal_indicator_term)</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
|
|
||||||
@ -58,7 +63,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 4, 2003</span></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -24,18 +24,23 @@
|
|||||||
<h4>Description</h4>
|
<h4>Description</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>dynamic(Predicate)
|
<pre>dynamic(Functor/Arity)
|
||||||
dynamic(Predicate1, Predicate2, ...)
|
dynamic(Functor1/Arity1, Functor2/Arity2, ...)
|
||||||
dynamic([Predicate1, Predicate2, ...])</pre>
|
dynamic([Functor1/Arity1, Functor2/Arity2, ...])
|
||||||
|
|
||||||
|
dynamic(Functor//Arity)
|
||||||
|
dynamic(Functor1//Arity1, Functor2//Arity2, ...)
|
||||||
|
dynamic([Functor1//Arity1, Functor2//Arity2, ...])</pre>
|
||||||
<p>
|
<p>
|
||||||
Declares dynamic predicates. Note that an object can be static and have both static and dynamic predicates.
|
Declares dynamic predicates and dynamic grammar rule non-terminals. Note that an object can be static and have both static and dynamic predicates/non-terminals.
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h4>Template and modes</h4>
|
<h4>Template and modes</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>dynamic(+predicate_indicator_term)</pre>
|
<pre>dynamic(+predicate_indicator_term)
|
||||||
|
dynamic(+non_terminal_indicator_term)</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
|
|
||||||
@ -58,7 +63,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 4, 2003</span></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -24,16 +24,18 @@
|
|||||||
<h4>Description</h4>
|
<h4>Description</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>info(Functor/Arity, List)</pre>
|
<pre>info(Functor/Arity, List)
|
||||||
|
info(Functor//Arity, List)</pre>
|
||||||
<p>
|
<p>
|
||||||
Documentation directive for predicates.
|
Documentation directive for predicates and grammar rule non-terminals.
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h4>Template and modes</h4>
|
<h4>Template and modes</h4>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>info(+predicate_indicator, +info_list)</pre>
|
<pre>info(+predicate_indicator, +info_list)
|
||||||
|
info(+non_terminal_indicator, +info_list)</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h4>Examples</h4>
|
<h4>Examples</h4>
|
||||||
@ -41,7 +43,10 @@
|
|||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>:- info(empty/1, [
|
<pre>:- info(empty/1, [
|
||||||
comment is 'True if the argument is an empty list.',
|
comment is 'True if the argument is an empty list.',
|
||||||
argnames is ['List']]).</pre>
|
argnames is ['List']]).
|
||||||
|
|
||||||
|
:- info(sentence//0, [
|
||||||
|
comment is 'Rewrites a sentence in a noun phrase and verb phrase.']).</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<div class="navbottom">
|
<div class="navbottom">
|
||||||
@ -53,7 +58,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 5, 2003</span></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>mode(Mode, Number_of_solutions)</pre>
|
<pre>mode(Mode, Number_of_solutions)</pre>
|
||||||
<p>
|
<p>
|
||||||
Most predicates can be used with several instantiations modes. This directive enables the specification of each instantiation mode and the corresponding number of solutions/proofs.
|
Most predicates can be used with several instantiations modes. This directive enables the specification of each instantiation mode and the corresponding number of solutions/proofs. You may also use this directive for documenting grammar rule non-terminals.
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: October 5, 2003</span></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user