Logtalk 2.13.0 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@535 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
9809cca4d5
commit
3638b381dd
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -10,6 +10,24 @@ RELEASE NOTES
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
2.13.0 - June 15, 2002
|
||||||
|
|
||||||
|
Logtalk now outputs Prolog code using write_canonical/2 instead of
|
||||||
|
write_term/3. Goals are better portability of the generated Prolog files
|
||||||
|
and avoid issues with clauses with long bodies for Prolog compilers that
|
||||||
|
use a term print depth limit to prevent problems with cyclic terms.
|
||||||
|
|
||||||
|
Added report of default flag values at Logtalk startup.
|
||||||
|
|
||||||
|
Logtalk now prints a warning when redefining parametric objects.
|
||||||
|
|
||||||
|
Removed need of an abort/0 predicate from the Logtalk debugger example.
|
||||||
|
Removed any definition of this predicate from the config files.
|
||||||
|
|
||||||
|
Added missing definitions for some ISO built-in predicates to the Amzi!
|
||||||
|
Prolog 6.2.2 config file.
|
||||||
|
|
||||||
|
|
||||||
2.12.0 - May 25, 2002
|
2.12.0 - May 25, 2002
|
||||||
|
|
||||||
New read-only Logtalk flag "version". Corrected exception term generated
|
New read-only Logtalk flag "version". Corrected exception term generated
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -8,8 +8,8 @@ Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
|||||||
This folder contains several examples of Logtalk programs. Most of
|
This folder contains several examples of Logtalk programs. Most of
|
||||||
these examples need objects, protocols, and categories that are
|
these examples need objects, protocols, and categories that are
|
||||||
defined in the Logtalk standard library or in other examples, so
|
defined in the Logtalk standard library or in other examples, so
|
||||||
you should load them first (see the NOTES file inside each example
|
you should load them first (see the NOTES file inside the library
|
||||||
folder).
|
folder and inside each example folder).
|
||||||
|
|
||||||
Some examples may redefine objects already loaded from other examples.
|
Some examples may redefine objects already loaded from other examples.
|
||||||
You may want to restart Logtalk after trying each example.
|
You may want to restart Logtalk after trying each example.
|
||||||
@ -18,7 +18,7 @@ Some of the examples code have been adopted from public available
|
|||||||
Prolog code and from known Prolog text books and are copyrighted by
|
Prolog code and from known Prolog text books and are copyrighted by
|
||||||
the respective authors.
|
the respective authors.
|
||||||
|
|
||||||
These are programming examples, meaning that you should look at the
|
These are programming examples, meaning that you should study the
|
||||||
source files to fully understand them.
|
source files to fully understand them.
|
||||||
|
|
||||||
All examples are formatted using four spaces tabs.
|
All examples are formatted using four spaces tabs.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1 +1,6 @@
|
|||||||
:- object(instance,
instantiates(class)).
:- end_object.
|
|
||||||
|
:- object(instance,
|
||||||
|
instantiates(class)).
|
||||||
|
|
||||||
|
|
||||||
|
:- end_object.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1 +1,15 @@
|
|||||||
:- object(portability).
:- public(predicate/0).
predicate :-
compare(Result, first, second),
retractall(result(Result, _)),
sort([], []),
consult(file).
:- end_object.
|
|
||||||
|
:- object(portability).
|
||||||
|
|
||||||
|
|
||||||
|
:- public(predicate/0).
|
||||||
|
|
||||||
|
|
||||||
|
predicate :-
|
||||||
|
compare(Result, first, second),
|
||||||
|
retractall(result(Result, _)),
|
||||||
|
sort([], []),
|
||||||
|
consult(file).
|
||||||
|
|
||||||
|
|
||||||
|
:- end_object.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -17,9 +17,9 @@ Day = 15
|
|||||||
Yes
|
Yes
|
||||||
|
|
||||||
|
|
||||||
| ?- date(Year, _, _)::(today, leap_year).
|
| ?- date(Year, _, _)::(today, \+ leap_year).
|
||||||
|
|
||||||
Year = 2000
|
Year = 2002
|
||||||
|
|
||||||
yes
|
yes
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
@ -9,8 +9,9 @@ This folder contains objects, categories, and protocols that implement
|
|||||||
predicates for dealing with common Prolog types and structures.
|
predicates for dealing with common Prolog types and structures.
|
||||||
|
|
||||||
To load a group of objects, protocols, and categories in this library
|
To load a group of objects, protocols, and categories in this library
|
||||||
consult the corresponding *.loader utility file. Currently, there are
|
change your Prolog working directory to this folder and then consult
|
||||||
seven groups of entities defined:
|
the corresponding *.loader utility file. Currently, there are seven
|
||||||
|
groups of entities defined:
|
||||||
|
|
||||||
dates
|
dates
|
||||||
debugging
|
debugging
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -137,7 +137,7 @@
|
|||||||
!.
|
!.
|
||||||
|
|
||||||
execute_option(a) :-
|
execute_option(a) :-
|
||||||
abort.
|
throw(error(logtalk_execution_aborted)).
|
||||||
|
|
||||||
execute_option(h) :-
|
execute_option(h) :-
|
||||||
::stream(output, Output),
|
::stream(output, Output),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Logtalk 2.12.0 Documentation</title>
|
<title>Logtalk 2.13.0 Documentation</title>
|
||||||
<link rel=stylesheet href="styles.css" type="text/css">
|
<link rel=stylesheet href="styles.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<h1 class="center">Logtalk 2.12.0</h1>
|
<h1 class="center">Logtalk 2.13.0</h1>
|
||||||
|
|
||||||
<h3 class="center">Documentation</h3>
|
<h3 class="center">Documentation</h3>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<p class="center">
|
<p class="center">
|
||||||
Last updated on: May 19, 2002
|
Last updated on: June 15, 2002
|
||||||
</p>
|
</p>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
<a href="http://validator.w3.org/check/referer"><img src="vh401.gif" alt="Valid HTML 4.01!" width="88" height="31"></a>
|
<a href="http://validator.w3.org/check/referer"><img src="vh401.gif" alt="Valid HTML 4.01!" width="88" height="31"></a>
|
||||||
|
@ -38,10 +38,9 @@ In writing Logtalk I have tried to follow the recently approved Prolog ISO stand
|
|||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>access to predicate properties (<code>dynamic</code>, <code>static</code>, <code>built_in</code>)</li>
|
<li>access to predicate properties (<code>dynamic</code>, <code>static</code>, <code>built_in</code>)</li>
|
||||||
<li><code>abort/0</code> predicate</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
Logtalk needs access to the predicate property<code>built_in</code> to properly compile objects and categories that contain Prolog built-in predicates calls. In addition, some Logtalk built-ins need to know the dynamic/static status of predicates to ensure correct application. The current draft for the ISO standard for Prolog modules defines a <code>predicate_property/2</code> predicate that is already implemented by most Prolog compilers. The Logtalk compiler and runtime use the <code>abort/0</code> predicate for error handling. Note that if these capabilities are not built-in the user cannot easily define them.</p>
|
Logtalk needs access to the predicate property<code>built_in</code> to properly compile objects and categories that contain Prolog built-in predicates calls. In addition, some Logtalk built-ins need to know the dynamic/static status of predicates to ensure correct application. The ISO standard for Prolog modules defines a <code>predicate_property/2</code> predicate that is already implemented by most Prolog compilers. Note that if these capabilities are not built-in the user cannot easily define them.</p>
|
||||||
<p>
|
<p>
|
||||||
For optimal performance, Logtalk requires that the Prolog compiler supports <strong>first-argument indexing</strong> for both static and dynamic code (most modern compilers support this feature).
|
For optimal performance, Logtalk requires that the Prolog compiler supports <strong>first-argument indexing</strong> for both static and dynamic code (most modern compilers support this feature).
|
||||||
</p>
|
</p>
|
||||||
@ -70,7 +69,7 @@ If you are unsure that your Prolog compiler provides all the ISO predicates need
|
|||||||
<strong><a href="documenting.html">Previous</a> | <a href="installing.html">Next</a> | <a href="index.html">Table of Contents</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
<strong><a href="documenting.html">Previous</a> | <a href="installing.html">Next</a> | <a href="index.html">Table of Contents</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
Last updated on: May 6, 2002
|
Last updated on: June 15, 2002
|
||||||
</p>
|
</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
<strong><a title="Consult reference manual" href="../refman/index.html">Reference manual</a> | <a href="../tutorial/index.html">Tutorial</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
<strong><a title="Consult reference manual" href="../refman/index.html">Reference manual</a> | <a href="../tutorial/index.html">Tutorial</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
Last updated on: May 6, 2002
|
Last updated on: June 15, 2002
|
||||||
</p>
|
</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
@ -92,6 +92,9 @@ In the Logtalk installation directory, you will find the following files and dir
|
|||||||
<dd><code>glossary.html</code> - glossary</dd>
|
<dd><code>glossary.html</code> - glossary</dd>
|
||||||
<dd><code>index.html</code> - root document for all documentation</dd>
|
<dd><code>index.html</code> - root document for all documentation</dd>
|
||||||
<dd><code>...</code> - other documentation files</dd>
|
<dd><code>...</code> - other documentation files</dd>
|
||||||
|
<dt><code>wenv</code></dt>
|
||||||
|
<dd><code>NOTES</code> - notes on the text editors syntax configuration files providing syntax coloring for editing Logtalk source files</dd>
|
||||||
|
<dd><code>...</code> - syntax configuration files</dd>
|
||||||
<dt><code>xml</code></dt>
|
<dt><code>xml</code></dt>
|
||||||
<dd><code>NOTES</code> - notes on the automatic generation of XML documentation files</dd>
|
<dd><code>NOTES</code> - notes on the automatic generation of XML documentation files</dd>
|
||||||
<dd><code>logtalk.css</code> - cascade style sheet file for the HTML output of the XSLT conversion of the XML files</dd>
|
<dd><code>logtalk.css</code> - cascade style sheet file for the HTML output of the XSLT conversion of the XML files</dd>
|
||||||
@ -304,7 +307,7 @@ Some caveats that you should be aware. First, some warnings that might be produc
|
|||||||
If you use Logtalk for batch processing, you probably want to supress most, if not all, banners, messages, and warnings that are normally printed by the system.
|
If you use Logtalk for batch processing, you probably want to supress most, if not all, banners, messages, and warnings that are normally printed by the system.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
To supress printing of the Logtalk startup banner, turn off the option <code>startup_message</code> in the config file that you are using.
|
To supress printing of the Logtalk startup banner and default flags, turn off the option <code>startup_message</code> in the config file that you are using.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
To supress printing of compiling and loading messages (including compiling warnings but not error messages), turn off the option <code>report</code> in the used config file.
|
To supress printing of compiling and loading messages (including compiling warnings but not error messages), turn off the option <code>report</code> in the used config file.
|
||||||
@ -315,7 +318,7 @@ To supress printing of compiling and loading messages (including compiling warni
|
|||||||
<strong><a href="configuration.html">Previous</a> | <a href="programming.html">Next</a> | <a href="index.html">Table of Contents</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
<strong><a href="configuration.html">Previous</a> | <a href="programming.html">Next</a> | <a href="index.html">Table of Contents</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<p class="center">
|
<p class="center">
|
||||||
Last updated on: May 6, 2002
|
Last updated on: June 12, 2002
|
||||||
</p>
|
</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -1 +1,52 @@
|
|||||||
! Syntax highlighting patterns file for Logtalk (http://www.logtalk.org)
!
! Author: Paulo Moura (pmoura at logtalk.org)
!
! Last changed in: May, 21
!
!
! To install this patterns file:
!
! 1. Load this file by starting nedit from the command line:
!
! % nedit -import logtalk.pats
!
! 2. Go to the Preferences menu and verify that the patterns were loaded
! correctly.
!
! 3. If everything is correct, choose the option Save Defaults from the
! Preferences menu.
!
!
nedit.fileVersion: 5.2
nedit.highlightPatterns: Logtalk:1:0{\n\
Entity directives:":\\-\\sobject|:\\-\\sprotocol|:\\-\\scategory|:\\-\\send_object|:\\-\\send_protocol|:\\-\\send_category":::Keyword::\n\
Entity relations:"<(instantiates|specializes|extends|imports|implements)>":::Keyword::\n\
Directives:":\\-\\sinitialization|:\\-\\sinfo|:\\-\\smode|:\\-\\sdynamic|:\\-\\sdiscontiguous|:\\-\\spublic|:\\-\\sprotected|:\\-\\sprivate|:\\-\\smetapredicate|:\\-\\sop|:\\-\\scalls|:\\-\\suses":::Keyword::\n\
Clause operators:":\\-|\\.":::Keyword::\n\
Term testing:"<[^+?@-](var|atom|integer|float|atomic|compound|nonvar|number)>":::Subroutine1::\n\
Message sending operators:"::|\\^\\^":::Keyword::\n\
Control constructs:"!|,|;|\\-\\>|<(true|fail|call|catch|throw)>":::Subroutine::\n\
Block comment:"/\\*":"\\*/"::Comment::\n\
Line comment:"%":"$"::Comment::\n\
String:"'":"'"::String::\n\
Built-in methods:"<(parameter|self|sender|this|current_predicate|predicate_property|abolish|asserta|assertz|retractall|retract|bagof|findall|forall|setof|before|after)>":::Subroutine::\n\
Arithmetic operators:"<is>|\\+|\\*|\\-|/|=:=|=\\\\=|=\\<|\\>=|\\<|\\>":::Subroutine1::\n\
Built-in predicates:"<(current_object|current_protocol|current_category|create_object|create_protocol|create_category|object_property|protocol_property|category_property|abolish_object|abolish_protocol|abolish_vategory|extends_object|extends_protocol|omplements_protocol|instantiates_object|specializes_object|imports_category|abolish_events|current_events|define_events|current_logtalk_flag|set_logtalk_flag|logtalk_compile|logtalk_load|forall|logtalk_version|retractall)>":::Subroutine1::\n\
Term unification:"=|<unify_with_occurs_check>|\\\\=":::Subroutine1::\n\
Term comparison:"@=\\<|==|\\\\==|@\\>=|@\\<|@\\>":::Subroutine1::\n\
Term creation and decomposition:"<(functor|arg|copy_term)>|=\\.\\.":::Subroutine1::\n\
Mode operators:"\\?|@":::Subroutine1::\n\
Stream selection and control:"<(current_input|current_output|set_input|set_output|open|close|flush_output|stream_property|at_end_of_stream|set_stream_position)>":::Subroutine1::\n\
Character input-output:"<(get_char|get_code|peek_char|peek_code|put_char|put_code|nl)>":::Subroutine1::\n\
Byte input-output:"<(get_byte|peek_byte|put_byte)>":::Subroutine1::\n\
Term input-output:"<(read_term|read|write_canonical|write_term|writeq|write|current_op|op|current_char_conversion|char_conversion)>":::Subroutine1::\n\
Logic and control:"\\\\\\+|<(once|repeat)>":::Subroutine::\n\
Atomic term processing:"<(atom_length|atom_concat|sub_atom|atom_chars|atom_codes|char_code|number_chars|number_codes)>":::Subroutine1::\n\
Implementation defined hooks:"<(set_prolog_flag|current_prolog_flag)>":::Subroutine1::\n\
Evaluable functors:"\\+|-|\\*|//|/|<(rem|mod|abs|sign|float_integer_part|float_fractional_part|float|floor|truncate|round|ceiling)>":::Subroutine1::\n\
Other arithemtic functors:"\\*\\*|<(sin|cos|atan|exp|log|sqrt)>":::Subroutine1::\n\
Bitwise functors:">>|<<|/\\\\|\\\\/|\\\\":::Subroutine1::\n\
}
nedit.languageModes: Logtalk:.lgt::::4:4:\n\
|
! Syntax highlighting patterns file for Logtalk (http://www.logtalk.org)
|
||||||
|
!
|
||||||
|
! Author: Paulo Moura (pmoura at logtalk.org)
|
||||||
|
!
|
||||||
|
! Last changed in: May, 21
|
||||||
|
!
|
||||||
|
!
|
||||||
|
! To install this patterns file:
|
||||||
|
!
|
||||||
|
! 1. Load this file by starting nedit from the command line:
|
||||||
|
!
|
||||||
|
! % nedit -import logtalk.pats
|
||||||
|
!
|
||||||
|
! 2. Go to the Preferences menu and verify that the patterns were loaded
|
||||||
|
! correctly.
|
||||||
|
!
|
||||||
|
! 3. If everything is correct, choose the option Save Defaults from the
|
||||||
|
! Preferences menu.
|
||||||
|
!
|
||||||
|
!
|
||||||
|
nedit.fileVersion: 5.2
|
||||||
|
|
||||||
|
nedit.highlightPatterns: Logtalk:1:0{\n\
|
||||||
|
Entity directives:":\\-\\sobject|:\\-\\sprotocol|:\\-\\scategory|:\\-\\send_object|:\\-\\send_protocol|:\\-\\send_category":::Keyword::\n\
|
||||||
|
Entity relations:"<(instantiates|specializes|extends|imports|implements)>":::Keyword::\n\
|
||||||
|
Directives:":\\-\\sinitialization|:\\-\\sinfo|:\\-\\smode|:\\-\\sdynamic|:\\-\\sdiscontiguous|:\\-\\spublic|:\\-\\sprotected|:\\-\\sprivate|:\\-\\smetapredicate|:\\-\\sop|:\\-\\scalls|:\\-\\suses":::Keyword::\n\
|
||||||
|
Clause operators:":\\-|\\.":::Keyword::\n\
|
||||||
|
Term testing:"<[^+?@-](var|atom|integer|float|atomic|compound|nonvar|number)>":::Subroutine1::\n\
|
||||||
|
Message sending operators:"::|\\^\\^":::Keyword::\n\
|
||||||
|
Control constructs:"!|,|;|\\-\\>|<(true|fail|call|catch|throw)>":::Subroutine::\n\
|
||||||
|
Block comment:"/\\*":"\\*/"::Comment::\n\
|
||||||
|
Line comment:"%":"$"::Comment::\n\
|
||||||
|
String:"'":"'"::String::\n\
|
||||||
|
Built-in methods:"<(parameter|self|sender|this|current_predicate|predicate_property|abolish|asserta|assertz|retractall|retract|bagof|findall|forall|setof|before|after)>":::Subroutine::\n\
|
||||||
|
Arithmetic operators:"<is>|\\+|\\*|\\-|/|=:=|=\\\\=|=\\<|\\>=|\\<|\\>":::Subroutine1::\n\
|
||||||
|
Built-in predicates:"<(current_object|current_protocol|current_category|create_object|create_protocol|create_category|object_property|protocol_property|category_property|abolish_object|abolish_protocol|abolish_vategory|extends_object|extends_protocol|omplements_protocol|instantiates_object|specializes_object|imports_category|abolish_events|current_events|define_events|current_logtalk_flag|set_logtalk_flag|logtalk_compile|logtalk_load|forall|logtalk_version|retractall)>":::Subroutine1::\n\
|
||||||
|
Term unification:"=|<unify_with_occurs_check>|\\\\=":::Subroutine1::\n\
|
||||||
|
Term comparison:"@=\\<|==|\\\\==|@\\>=|@\\<|@\\>":::Subroutine1::\n\
|
||||||
|
Term creation and decomposition:"<(functor|arg|copy_term)>|=\\.\\.":::Subroutine1::\n\
|
||||||
|
Mode operators:"\\?|@":::Subroutine1::\n\
|
||||||
|
Stream selection and control:"<(current_input|current_output|set_input|set_output|open|close|flush_output|stream_property|at_end_of_stream|set_stream_position)>":::Subroutine1::\n\
|
||||||
|
Character input-output:"<(get_char|get_code|peek_char|peek_code|put_char|put_code|nl)>":::Subroutine1::\n\
|
||||||
|
Byte input-output:"<(get_byte|peek_byte|put_byte)>":::Subroutine1::\n\
|
||||||
|
Term input-output:"<(read_term|read|write_canonical|write_term|writeq|write|current_op|op|current_char_conversion|char_conversion)>":::Subroutine1::\n\
|
||||||
|
Logic and control:"\\\\\\+|<(once|repeat)>":::Subroutine::\n\
|
||||||
|
Atomic term processing:"<(atom_length|atom_concat|sub_atom|atom_chars|atom_codes|char_code|number_chars|number_codes)>":::Subroutine1::\n\
|
||||||
|
Implementation defined hooks:"<(set_prolog_flag|current_prolog_flag)>":::Subroutine1::\n\
|
||||||
|
Evaluable functors:"\\+|-|\\*|//|/|<(rem|mod|abs|sign|float_integer_part|float_fractional_part|float|floor|truncate|round|ceiling)>":::Subroutine1::\n\
|
||||||
|
Other arithemtic functors:"\\*\\*|<(sin|cos|atan|exp|log|sqrt)>":::Subroutine1::\n\
|
||||||
|
Bitwise functors:">>|<<|/\\\\|\\\\/|\\\\":::Subroutine1::\n\
|
||||||
|
}
|
||||||
|
nedit.languageModes: Logtalk:.lgt::::4:4:\n\
|
||||||
|
@ -1,310 +1,310 @@
|
|||||||
; TextPad syntax definitions for Logtalk (http://www.logtalk.org/)
|
; TextPad syntax definitions for Logtalk (http://www.logtalk.org/)
|
||||||
;
|
;
|
||||||
; Author: Paulo Moura
|
; Author: Paulo Moura
|
||||||
; Last changed in: May 21, 2002
|
; Last changed in: May 21, 2002
|
||||||
;
|
;
|
||||||
; Tags used and sugested colors:
|
; Tags used and sugested colors:
|
||||||
; Keywords 1 message sending operators blue
|
; Keywords 1 message sending operators blue
|
||||||
; Keywords 2 entity enclosing directives purple
|
; Keywords 2 entity enclosing directives purple
|
||||||
; Keywords 3 entity directives purple
|
; Keywords 3 entity directives purple
|
||||||
; Keywords 4 built-in predicates
|
; Keywords 4 built-in predicates
|
||||||
; Keywords 5 built-in methods
|
; Keywords 5 built-in methods
|
||||||
|
|
||||||
|
|
||||||
C=1
|
C=1
|
||||||
|
|
||||||
[Syntax]
|
[Syntax]
|
||||||
Namespace1 = 6
|
Namespace1 = 6
|
||||||
IgnoreCase = NO
|
IgnoreCase = NO
|
||||||
InitKeyWordChars =
|
InitKeyWordChars =
|
||||||
KeyWordChars = a-zA-Z0-9_:^;*+,-./;<=>?@[\]^{|}
|
KeyWordChars = a-zA-Z0-9_:^;*+,-./;<=>?@[\]^{|}
|
||||||
KeyWordLength =
|
KeyWordLength =
|
||||||
BracketChars =
|
BracketChars =
|
||||||
OperatorChars = <=>?@[\]|
|
OperatorChars = <=>?@[\]|
|
||||||
PreprocStart =
|
PreprocStart =
|
||||||
SyntaxStart =
|
SyntaxStart =
|
||||||
SyntaxEnd =
|
SyntaxEnd =
|
||||||
HexPrefix = 0x
|
HexPrefix = 0x
|
||||||
CommentStart = /*
|
CommentStart = /*
|
||||||
CommentEnd = */
|
CommentEnd = */
|
||||||
CommentStartAlt =
|
CommentStartAlt =
|
||||||
CommentEndAlt =
|
CommentEndAlt =
|
||||||
SingleComment = %
|
SingleComment = %
|
||||||
SingleCommentCol =
|
SingleCommentCol =
|
||||||
SingleCommentAlt =
|
SingleCommentAlt =
|
||||||
SingleCommentColAlt =
|
SingleCommentColAlt =
|
||||||
SingleCommentEsc =
|
SingleCommentEsc =
|
||||||
StringsSpanLines = Yes
|
StringsSpanLines = Yes
|
||||||
StringStart = '
|
StringStart = '
|
||||||
StringEnd = '
|
StringEnd = '
|
||||||
StringAlt = "
|
StringAlt = "
|
||||||
StringEsc = '
|
StringEsc = '
|
||||||
CharStart =
|
CharStart =
|
||||||
CharEnd =
|
CharEnd =
|
||||||
CharEsc =
|
CharEsc =
|
||||||
|
|
||||||
|
|
||||||
[Keywords 1]
|
[Keywords 1]
|
||||||
|
|
||||||
; Logtalk message sending operators
|
; Logtalk message sending operators
|
||||||
|
|
||||||
^^
|
^^
|
||||||
:-
|
:-
|
||||||
.
|
.
|
||||||
,
|
,
|
||||||
;
|
;
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|
||||||
; Logtalk external call
|
; Logtalk external call
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Keywords 2]
|
[Keywords 2]
|
||||||
|
|
||||||
; Logtalk opening entity directives
|
; Logtalk opening entity directives
|
||||||
object
|
object
|
||||||
protocol
|
protocol
|
||||||
category
|
category
|
||||||
|
|
||||||
|
|
||||||
; Logtalk closing entity directives
|
; Logtalk closing entity directives
|
||||||
end_object
|
end_object
|
||||||
end_protocol
|
end_protocol
|
||||||
end_category
|
end_category
|
||||||
|
|
||||||
; Logtalk entity relations
|
; Logtalk entity relations
|
||||||
instantiates
|
instantiates
|
||||||
specializes
|
specializes
|
||||||
extends
|
extends
|
||||||
imports
|
imports
|
||||||
implements
|
implements
|
||||||
|
|
||||||
|
|
||||||
[Keywords 3]
|
[Keywords 3]
|
||||||
|
|
||||||
; Logtalk directives
|
; Logtalk directives
|
||||||
initialization
|
initialization
|
||||||
info
|
info
|
||||||
mode
|
mode
|
||||||
dynamic
|
dynamic
|
||||||
discontiguous
|
discontiguous
|
||||||
public
|
public
|
||||||
protected
|
protected
|
||||||
private
|
private
|
||||||
metapredicate
|
metapredicate
|
||||||
op
|
op
|
||||||
calls
|
calls
|
||||||
uses
|
uses
|
||||||
|
|
||||||
|
|
||||||
[Keywords 4]
|
[Keywords 4]
|
||||||
|
|
||||||
; Logtalk built-in predicates
|
; Logtalk built-in predicates
|
||||||
current_object
|
current_object
|
||||||
current_protocol
|
current_protocol
|
||||||
current_category
|
current_category
|
||||||
create_object
|
create_object
|
||||||
create_protocol
|
create_protocol
|
||||||
create_category
|
create_category
|
||||||
object_property
|
object_property
|
||||||
protocol_property
|
protocol_property
|
||||||
category_property
|
category_property
|
||||||
abolish_object
|
abolish_object
|
||||||
abolish_protocol
|
abolish_protocol
|
||||||
abolish_category
|
abolish_category
|
||||||
extends_object
|
extends_object
|
||||||
extends_protocol
|
extends_protocol
|
||||||
implements_protocol
|
implements_protocol
|
||||||
instantiates_object
|
instantiates_object
|
||||||
specializes_object
|
specializes_object
|
||||||
imports_category
|
imports_category
|
||||||
abolish_events
|
abolish_events
|
||||||
current_event
|
current_event
|
||||||
define_events
|
define_events
|
||||||
current_logtalk_flag
|
current_logtalk_flag
|
||||||
set_logtalk_flag
|
set_logtalk_flag
|
||||||
logtalk_compile
|
logtalk_compile
|
||||||
logtalk_load
|
logtalk_load
|
||||||
forall
|
forall
|
||||||
logtalk_version
|
logtalk_version
|
||||||
retractall
|
retractall
|
||||||
|
|
||||||
|
|
||||||
[Keywords 5]
|
[Keywords 5]
|
||||||
|
|
||||||
; Logtalk built-in methods
|
; Logtalk built-in methods
|
||||||
parameter
|
parameter
|
||||||
self
|
self
|
||||||
sender
|
sender
|
||||||
this
|
this
|
||||||
current_predicate
|
current_predicate
|
||||||
predicate_property
|
predicate_property
|
||||||
abolish
|
abolish
|
||||||
asserta
|
asserta
|
||||||
assertz
|
assertz
|
||||||
clause
|
clause
|
||||||
retract
|
retract
|
||||||
retractall
|
retractall
|
||||||
bagof
|
bagof
|
||||||
findall
|
findall
|
||||||
forall
|
forall
|
||||||
setof
|
setof
|
||||||
before
|
before
|
||||||
after
|
after
|
||||||
|
|
||||||
; Mode operators
|
; Mode operators
|
||||||
?
|
?
|
||||||
@
|
@
|
||||||
|
|
||||||
; Control constructs
|
; Control constructs
|
||||||
true
|
true
|
||||||
fail
|
fail
|
||||||
call
|
call
|
||||||
!
|
!
|
||||||
,
|
,
|
||||||
;
|
;
|
||||||
->
|
->
|
||||||
catch
|
catch
|
||||||
throw
|
throw
|
||||||
|
|
||||||
; Term unification
|
; Term unification
|
||||||
=
|
=
|
||||||
unify_with_occurs_check
|
unify_with_occurs_check
|
||||||
\=
|
\=
|
||||||
|
|
||||||
; Term testing
|
; Term testing
|
||||||
var
|
var
|
||||||
atom
|
atom
|
||||||
integer
|
integer
|
||||||
float
|
float
|
||||||
atomic
|
atomic
|
||||||
compound
|
compound
|
||||||
nonvar
|
nonvar
|
||||||
number
|
number
|
||||||
|
|
||||||
; Term comparison
|
; Term comparison
|
||||||
@=<
|
@=<
|
||||||
==
|
==
|
||||||
\==
|
\==
|
||||||
@<
|
@<
|
||||||
@>
|
@>
|
||||||
@>=
|
@>=
|
||||||
|
|
||||||
; Term creation and decomposition
|
; Term creation and decomposition
|
||||||
functor
|
functor
|
||||||
arg
|
arg
|
||||||
=..
|
=..
|
||||||
copy_term
|
copy_term
|
||||||
|
|
||||||
; Arithemtic evaluation
|
; Arithemtic evaluation
|
||||||
is
|
is
|
||||||
|
|
||||||
; Arithemtic comparison
|
; Arithemtic comparison
|
||||||
=:=
|
=:=
|
||||||
=\=
|
=\=
|
||||||
<
|
<
|
||||||
=<
|
=<
|
||||||
>
|
>
|
||||||
>=
|
>=
|
||||||
|
|
||||||
; Stream selection and control
|
; Stream selection and control
|
||||||
current_input
|
current_input
|
||||||
current_output
|
current_output
|
||||||
set_input
|
set_input
|
||||||
set_output
|
set_output
|
||||||
open
|
open
|
||||||
close
|
close
|
||||||
flush_output
|
flush_output
|
||||||
stream_property
|
stream_property
|
||||||
at_end_of_stream
|
at_end_of_stream
|
||||||
set_stream_position
|
set_stream_position
|
||||||
|
|
||||||
; Character input/output
|
; Character input/output
|
||||||
get_char
|
get_char
|
||||||
get_code
|
get_code
|
||||||
peek_char
|
peek_char
|
||||||
peek_code
|
peek_code
|
||||||
put_char
|
put_char
|
||||||
put_code
|
put_code
|
||||||
nl
|
nl
|
||||||
|
|
||||||
; Byte input/output
|
; Byte input/output
|
||||||
get_byte
|
get_byte
|
||||||
peek_byte
|
peek_byte
|
||||||
put_byte
|
put_byte
|
||||||
|
|
||||||
; Term input/output
|
; Term input/output
|
||||||
read_term
|
read_term
|
||||||
read
|
read
|
||||||
write_term
|
write_term
|
||||||
write
|
write
|
||||||
writeq
|
writeq
|
||||||
write_canonical
|
write_canonical
|
||||||
op
|
op
|
||||||
current_op
|
current_op
|
||||||
char_conversion
|
char_conversion
|
||||||
current_char_conversion
|
current_char_conversion
|
||||||
|
|
||||||
; Logic and control
|
; Logic and control
|
||||||
\+
|
\+
|
||||||
once
|
once
|
||||||
repeat
|
repeat
|
||||||
|
|
||||||
; Atomic term processing
|
; Atomic term processing
|
||||||
atom_length
|
atom_length
|
||||||
atom_concat
|
atom_concat
|
||||||
sub_atom
|
sub_atom
|
||||||
atom_chars
|
atom_chars
|
||||||
atom_codes
|
atom_codes
|
||||||
char_code
|
char_code
|
||||||
number_chars
|
number_chars
|
||||||
number_codes
|
number_codes
|
||||||
|
|
||||||
; Implementation defined hooks functions
|
; Implementation defined hooks functions
|
||||||
set_prolog_flag
|
set_prolog_flag
|
||||||
current_prolog_flag
|
current_prolog_flag
|
||||||
halt
|
halt
|
||||||
|
|
||||||
; Evaluable functors
|
; Evaluable functors
|
||||||
+
|
+
|
||||||
-
|
-
|
||||||
*
|
*
|
||||||
//
|
//
|
||||||
/
|
/
|
||||||
rem
|
rem
|
||||||
mod
|
mod
|
||||||
abs
|
abs
|
||||||
sign
|
sign
|
||||||
float_integer_part
|
float_integer_part
|
||||||
float_fractional_part
|
float_fractional_part
|
||||||
float
|
float
|
||||||
floor
|
floor
|
||||||
truncate
|
truncate
|
||||||
round
|
round
|
||||||
ceiling
|
ceiling
|
||||||
|
|
||||||
; Other arithemtic functors
|
; Other arithemtic functors
|
||||||
**
|
**
|
||||||
sin
|
sin
|
||||||
cos
|
cos
|
||||||
atan
|
atan
|
||||||
exp
|
exp
|
||||||
log
|
log
|
||||||
sqrt
|
sqrt
|
||||||
|
|
||||||
; Bitwise functors
|
; Bitwise functors
|
||||||
>>
|
>>
|
||||||
<<
|
<<
|
||||||
/\
|
/\
|
||||||
\/
|
\/
|
||||||
\
|
\
|
||||||
|
|
||||||
; Logtalk end-of-clause
|
; Logtalk end-of-clause
|
||||||
.
|
.
|
||||||
|
|
||||||
; Logtalk list operator
|
; Logtalk list operator
|
||||||
|
|
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=================================================================
|
=================================================================
|
||||||
Logtalk - Object oriented extension to Prolog
|
Logtalk - Object oriented extension to Prolog
|
||||||
Release 2.12.0
|
Release 2.13.0
|
||||||
|
|
||||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
=================================================================
|
=================================================================
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
|
@ -11741,7 +11741,7 @@ predicate, the system is not packaged as a module not does it use
|
|||||||
modules in its implementation.
|
modules in its implementation.
|
||||||
|
|
||||||
Logtalk documentation is included in the Logtalk directory. For the
|
Logtalk documentation is included in the Logtalk directory. For the
|
||||||
latest news, please see the URL @url{http://www.ci.uc.pt/logtalk/logtalk.html}.
|
latest news, please see the URL @url{http://www.logtalk.org/}.
|
||||||
|
|
||||||
|
|
||||||
@node Parallelism, Tabling, Logtalk, Extensions
|
@node Parallelism, Tabling, Logtalk, Extensions
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||||
%
|
%
|
||||||
@ -1019,7 +1019,7 @@ logtalk_version(Major, Minor, Patch) :-
|
|||||||
\+ integer(Patch),
|
\+ integer(Patch),
|
||||||
throw(error(type_error(integer, Patch), logtalk_version(Major, Minor, Patch))).
|
throw(error(type_error(integer, Patch), logtalk_version(Major, Minor, Patch))).
|
||||||
|
|
||||||
logtalk_version(2, 12, 0).
|
logtalk_version(2, 13, 0).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1080,7 +1080,7 @@ current_logtalk_flag(Flag, Value) :-
|
|||||||
\+ lgt_flag_(Flag, _),
|
\+ lgt_flag_(Flag, _),
|
||||||
lgt_default_flag(Flag, Value).
|
lgt_default_flag(Flag, Value).
|
||||||
|
|
||||||
current_logtalk_flag(version, version(2, 12, 0)).
|
current_logtalk_flag(version, version(2, 13, 0)).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1874,13 +1874,22 @@ lgt_load_entity(Entity) :-
|
|||||||
% lgt_report_redefined_entity(+atom)
|
% lgt_report_redefined_entity(+atom)
|
||||||
%
|
%
|
||||||
% prints a warning if an entity of the same name is already loaded
|
% prints a warning if an entity of the same name is already loaded
|
||||||
% does not work for parametric objects...
|
|
||||||
|
|
||||||
lgt_report_redefined_entity(Entity) :-
|
lgt_report_redefined_entity(Entity) :-
|
||||||
lgt_current_object_(Entity, _, _, _, _),
|
lgt_current_object_(Entity, _, _, _, _),
|
||||||
!,
|
!,
|
||||||
write('WARNING! redefining '), write(Entity), write(' object'), nl.
|
write('WARNING! redefining '), write(Entity), write(' object'), nl.
|
||||||
|
|
||||||
|
lgt_report_redefined_entity(Entity) :- % parametric objects
|
||||||
|
atom_codes(Entity, Codes),
|
||||||
|
lgt_append(Codes1, Codes2, Codes),
|
||||||
|
catch(number_codes(Arity, Codes2), _, fail),
|
||||||
|
atom_codes(Functor, Codes1),
|
||||||
|
functor(Loaded, Functor, Arity),
|
||||||
|
lgt_current_object_(Loaded, _, _, _, _),
|
||||||
|
!,
|
||||||
|
write('WARNING! redefining '), write(Entity), write(' object'), nl.
|
||||||
|
|
||||||
lgt_report_redefined_entity(Entity) :-
|
lgt_report_redefined_entity(Entity) :-
|
||||||
lgt_current_protocol_(Entity, _),
|
lgt_current_protocol_(Entity, _),
|
||||||
!,
|
!,
|
||||||
@ -4579,44 +4588,16 @@ lgt_report_misspelt_calls([Pred| Preds]) :-
|
|||||||
|
|
||||||
% lgt_write_directives(+stream)
|
% lgt_write_directives(+stream)
|
||||||
%
|
%
|
||||||
% writes the Logtalk and user directives
|
% writes the directives
|
||||||
|
|
||||||
lgt_write_directives(Stream) :-
|
lgt_write_directives(Stream) :-
|
||||||
lgt_write_lgt_directives(Stream),
|
|
||||||
lgt_write_user_directives(Stream).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
% lgt_write_lgt_directives(+stream)
|
|
||||||
%
|
|
||||||
% writes the Logtalk message sending operator directives
|
|
||||||
|
|
||||||
lgt_write_lgt_directives(Stream) :-
|
|
||||||
write_term(Stream, ':- ', []),
|
|
||||||
write_term(Stream, op(600, xfy, ::), [quoted(true)]),
|
|
||||||
write_term(Stream, '.', []), nl(Stream),
|
|
||||||
write_term(Stream, ':- ', []),
|
|
||||||
write_term(Stream, op(600, fy, ::), [quoted(true)]),
|
|
||||||
write_term(Stream, '.', []), nl(Stream),
|
|
||||||
write_term(Stream, ':- ', []),
|
|
||||||
write_term(Stream, op(600, fx, ^^), [quoted(true)]),
|
|
||||||
write_term(Stream, '.', []), nl(Stream).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
% lgt_write_user_directives(+stream)
|
|
||||||
%
|
|
||||||
% writes the user directives
|
|
||||||
|
|
||||||
lgt_write_user_directives(Stream) :-
|
|
||||||
lgt_directive_(Dir),
|
lgt_directive_(Dir),
|
||||||
write_term(Stream, ':- ', []),
|
write_canonical(Stream, (:- Dir)),
|
||||||
write_term(Stream, Dir, [quoted(true)]),
|
write(Stream, '.'),
|
||||||
write_term(Stream, '.', []),
|
|
||||||
nl(Stream),
|
nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
lgt_write_user_directives(_).
|
lgt_write_directives(_).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -4632,16 +4613,16 @@ lgt_write_clauses(Stream) :-
|
|||||||
|
|
||||||
lgt_write_functors_clause(Stream) :-
|
lgt_write_functors_clause(Stream) :-
|
||||||
lgt_entity_functors_(Clause),
|
lgt_entity_functors_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []),
|
write(Stream, '.'),
|
||||||
nl(Stream).
|
nl(Stream).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lgt_write_def_clauses(Stream) :-
|
lgt_write_def_clauses(Stream) :-
|
||||||
lgt_def_(Clause),
|
lgt_def_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []), nl(Stream),
|
write(Stream, '.'), nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
lgt_write_def_clauses(_).
|
lgt_write_def_clauses(_).
|
||||||
@ -4650,8 +4631,8 @@ lgt_write_def_clauses(_).
|
|||||||
|
|
||||||
lgt_write_ddef_clauses(Stream) :-
|
lgt_write_ddef_clauses(Stream) :-
|
||||||
lgt_ddef_(Clause),
|
lgt_ddef_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []), nl(Stream),
|
write(Stream, '.'), nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
lgt_write_ddef_clauses(_).
|
lgt_write_ddef_clauses(_).
|
||||||
@ -4660,8 +4641,8 @@ lgt_write_ddef_clauses(_).
|
|||||||
|
|
||||||
lgt_write_dcl_clauses(Stream) :-
|
lgt_write_dcl_clauses(Stream) :-
|
||||||
lgt_dcl_(Clause),
|
lgt_dcl_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []),
|
write(Stream, '.'),
|
||||||
nl(Stream),
|
nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
@ -4671,8 +4652,8 @@ lgt_write_dcl_clauses(_).
|
|||||||
|
|
||||||
lgt_write_super_clauses(Stream) :-
|
lgt_write_super_clauses(Stream) :-
|
||||||
lgt_super_(Clause),
|
lgt_super_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []),
|
write(Stream, '.'),
|
||||||
nl(Stream),
|
nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
@ -4682,8 +4663,8 @@ lgt_write_super_clauses(_).
|
|||||||
|
|
||||||
lgt_write_entity_clauses(Stream) :-
|
lgt_write_entity_clauses(Stream) :-
|
||||||
lgt_feclause_(Clause),
|
lgt_feclause_(Clause),
|
||||||
write_term(Stream, Clause, [quoted(true)]),
|
write_canonical(Stream, Clause),
|
||||||
write_term(Stream, '.', []),
|
write(Stream, '.'),
|
||||||
nl(Stream),
|
nl(Stream),
|
||||||
fail.
|
fail.
|
||||||
|
|
||||||
@ -4701,25 +4682,19 @@ lgt_write_init_call(Stream) :-
|
|||||||
lgt_compiler_option(iso_initialization_dir, true),
|
lgt_compiler_option(iso_initialization_dir, true),
|
||||||
!,
|
!,
|
||||||
findall(Clause, lgt_rclause_(Clause), Clauses),
|
findall(Clause, lgt_rclause_(Clause), Clauses),
|
||||||
write_term(Stream, ':- initialization((lgt_assert_relation_clauses(', []),
|
|
||||||
write_term(Stream, Clauses, [quoted(true)]),
|
|
||||||
write_term(Stream, ')', []),
|
|
||||||
(lgt_fentity_init_(Call) ->
|
(lgt_fentity_init_(Call) ->
|
||||||
write_term(Stream, ', ', []),
|
write_canonical(Stream, (:- initialization((lgt_assert_relation_clauses(Clauses), Call))))
|
||||||
write_term(Stream, Call, [quoted(true)])
|
|
||||||
;
|
;
|
||||||
true),
|
write_canonical(Stream, (:- initialization(lgt_assert_relation_clauses(Clauses))))),
|
||||||
write_term(Stream, ')).', []), nl(Stream).
|
write(Stream, '.'), nl(Stream).
|
||||||
|
|
||||||
lgt_write_init_call(Stream) :-
|
lgt_write_init_call(Stream) :-
|
||||||
findall(Clause, lgt_rclause_(Clause), Clauses),
|
findall(Clause, lgt_rclause_(Clause), Clauses),
|
||||||
write_term(Stream, ':- lgt_assert_relation_clauses(', []),
|
write_canonical(Stream, (:- initialization(lgt_assert_relation_clauses(Clauses)))),
|
||||||
write_term(Stream, Clauses, [quoted(true)]),
|
write(Stream, '.'), nl(Stream),
|
||||||
write_term(Stream, ').', []), nl(Stream),
|
|
||||||
(lgt_fentity_init_(Call) ->
|
(lgt_fentity_init_(Call) ->
|
||||||
write_term(Stream, ':- ', []),
|
write_canonical(Stream, (:- Call)),
|
||||||
write_term(Stream, Call, [quoted(true)]),
|
write(Stream, '.'),
|
||||||
write_term(Stream, '.', []),
|
|
||||||
nl(Stream)
|
nl(Stream)
|
||||||
;
|
;
|
||||||
true).
|
true).
|
||||||
@ -5396,11 +5371,11 @@ lgt_write_xml_file(Stream) :-
|
|||||||
|
|
||||||
lgt_write_xml_header(Stream) :-
|
lgt_write_xml_header(Stream) :-
|
||||||
lgt_write_xml_open_tag(Stream, '?xml version="1.0"?', []),
|
lgt_write_xml_open_tag(Stream, '?xml version="1.0"?', []),
|
||||||
write_term(Stream, '<!DOCTYPE logtalk SYSTEM "logtalk.dtd">', []), nl(Stream),
|
write(Stream, '<!DOCTYPE logtalk SYSTEM "logtalk.dtd">'), nl(Stream),
|
||||||
lgt_compiler_option(xsl, XSL),
|
lgt_compiler_option(xsl, XSL),
|
||||||
write_term(Stream, '<?xml-stylesheet type="text/xsl" href="', []),
|
write(Stream, '<?xml-stylesheet type="text/xsl" href="'),
|
||||||
write_term(Stream, XSL, []),
|
write(Stream, XSL),
|
||||||
write_term(Stream, '"?>', []), nl(Stream),
|
write(Stream, '"?>'), nl(Stream),
|
||||||
lgt_write_xml_open_tag(Stream, logtalk, []).
|
lgt_write_xml_open_tag(Stream, logtalk, []).
|
||||||
|
|
||||||
|
|
||||||
@ -5688,10 +5663,10 @@ lgt_write_xml_relation(Stream, Entity, Relation, Tag) :-
|
|||||||
% writes <Tag Att1="V1" Att2="V2" ...>
|
% writes <Tag Att1="V1" Att2="V2" ...>
|
||||||
|
|
||||||
lgt_write_xml_open_tag(Stream, Tag, Atts) :-
|
lgt_write_xml_open_tag(Stream, Tag, Atts) :-
|
||||||
write_term(Stream, '<', []),
|
write(Stream, '<'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
lgt_write_xml_tag_attributes(Stream, Atts),
|
lgt_write_xml_tag_attributes(Stream, Atts),
|
||||||
write_term(Stream, '>', []), nl(Stream).
|
write(Stream, '>'), nl(Stream).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -5700,14 +5675,14 @@ lgt_write_xml_open_tag(Stream, Tag, Atts) :-
|
|||||||
% writes <Tag Att1="V1" Att2="V2" ...>Text</Tag>
|
% writes <Tag Att1="V1" Att2="V2" ...>Text</Tag>
|
||||||
|
|
||||||
lgt_write_xml_element(Stream, Tag, Atts, Text) :-
|
lgt_write_xml_element(Stream, Tag, Atts, Text) :-
|
||||||
write_term(Stream, '<', []),
|
write(Stream, '<'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
lgt_write_xml_tag_attributes(Stream, Atts),
|
lgt_write_xml_tag_attributes(Stream, Atts),
|
||||||
write_term(Stream, '>', []),
|
write(Stream, '>'),
|
||||||
write_term(Stream, Text, []),
|
write(Stream, Text),
|
||||||
write_term(Stream, '</', []),
|
write(Stream, '</'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
write_term(Stream, '>', []), nl(Stream).
|
write(Stream, '>'), nl(Stream).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -5716,14 +5691,14 @@ lgt_write_xml_element(Stream, Tag, Atts, Text) :-
|
|||||||
% writes <Tag Att1="V1" Att2="V2" ...><![CDATA[Text]]></Tag>
|
% writes <Tag Att1="V1" Att2="V2" ...><![CDATA[Text]]></Tag>
|
||||||
|
|
||||||
lgt_write_xml_cdata_element(Stream, Tag, Atts, Text) :-
|
lgt_write_xml_cdata_element(Stream, Tag, Atts, Text) :-
|
||||||
write_term(Stream, '<', []),
|
write(Stream, '<'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
lgt_write_xml_tag_attributes(Stream, Atts),
|
lgt_write_xml_tag_attributes(Stream, Atts),
|
||||||
write_term(Stream, '><![CDATA[', []),
|
write(Stream, '><![CDATA['),
|
||||||
write_term(Stream, Text, []),
|
write(Stream, Text),
|
||||||
write_term(Stream, ']]></', []),
|
write(Stream, ']]></'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
write_term(Stream, '>', []), nl(Stream).
|
write(Stream, '>'), nl(Stream).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -5733,11 +5708,11 @@ lgt_write_xml_tag_attributes(_, []) :-
|
|||||||
!.
|
!.
|
||||||
|
|
||||||
lgt_write_xml_tag_attributes(Stream, [Attribute-Value| Rest]) :-
|
lgt_write_xml_tag_attributes(Stream, [Attribute-Value| Rest]) :-
|
||||||
write_term(Stream, ' ', []),
|
write(Stream, ' '),
|
||||||
write_term(Stream, Attribute, []),
|
write(Stream, Attribute),
|
||||||
write_term(Stream, '="', []),
|
write(Stream, '="'),
|
||||||
write_term(Stream, Value, []),
|
write(Stream, Value),
|
||||||
write_term(Stream, '"', []),
|
write(Stream, '"'),
|
||||||
lgt_write_xml_tag_attributes(Stream, Rest).
|
lgt_write_xml_tag_attributes(Stream, Rest).
|
||||||
|
|
||||||
|
|
||||||
@ -5747,9 +5722,9 @@ lgt_write_xml_tag_attributes(Stream, [Attribute-Value| Rest]) :-
|
|||||||
% writes </Tag>
|
% writes </Tag>
|
||||||
|
|
||||||
lgt_write_xml_close_tag(Stream, Tag) :-
|
lgt_write_xml_close_tag(Stream, Tag) :-
|
||||||
write_term(Stream, '</', []),
|
write(Stream, '</'),
|
||||||
write_term(Stream, Tag, []),
|
write(Stream, Tag),
|
||||||
write_term(Stream, '>', []),
|
write(Stream, '>'),
|
||||||
nl(Stream).
|
nl(Stream).
|
||||||
|
|
||||||
|
|
||||||
@ -5901,16 +5876,50 @@ lgt_iso_def_pred(halt(_)).
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
lgt_banner :-
|
lgt_startup_message :-
|
||||||
lgt_compiler_option(startup_message, on) ->
|
lgt_default_flag(startup_message, on) ->
|
||||||
logtalk_version(Major, Minor, Patch),
|
lgt_banner,
|
||||||
write('Logtalk '), write(Major), write('.'), write(Minor), write('.'), write(Patch), nl,
|
lgt_default_flags
|
||||||
write('Copyright (c) 1998-2002 Paulo Moura'), nl
|
|
||||||
;
|
;
|
||||||
true.
|
true.
|
||||||
|
|
||||||
|
|
||||||
:- initialization(lgt_banner).
|
|
||||||
|
lgt_banner :-
|
||||||
|
current_logtalk_flag(version, version(Major, Minor, Patch)),
|
||||||
|
nl, write('Logtalk '), write(Major), write('.'), write(Minor), write('.'), write(Patch), nl,
|
||||||
|
write('Copyright (c) 1998-2002 Paulo Moura'), nl, nl.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
lgt_default_flags :-
|
||||||
|
write('Default compilation flags:'), nl,
|
||||||
|
lgt_default_flag(iso_initialization_dir, ISO),
|
||||||
|
write(' ISO initialization/1 directive: '), write(ISO), nl,
|
||||||
|
lgt_default_flag(xml, XML),
|
||||||
|
write(' XML documenting files: '), write(XML), nl,
|
||||||
|
lgt_default_flag(xsl, XSL),
|
||||||
|
write(' XSL stylesheet: '), write(XSL), nl,
|
||||||
|
lgt_default_flag(unknown, Unknown),
|
||||||
|
write(' Unknown entities: '), write(Unknown), nl,
|
||||||
|
lgt_default_flag(misspelt, Misspelt),
|
||||||
|
write(' Misspelt predicates: '), write(Misspelt), nl,
|
||||||
|
lgt_default_flag(singletons, Singletons),
|
||||||
|
write(' Singletons variables: '), write(Singletons), nl,
|
||||||
|
lgt_default_flag(lgtredef, Lgtredef),
|
||||||
|
write(' Logtalk built-ins redefinition: '), write(Lgtredef), nl,
|
||||||
|
lgt_default_flag(plredef, Plredef),
|
||||||
|
write(' Prolog built-ins redefinition: '), write(Plredef), nl,
|
||||||
|
lgt_default_flag(portability, Portability),
|
||||||
|
write(' Non portable calls: '), write(Portability), nl,
|
||||||
|
lgt_default_flag(report, Report),
|
||||||
|
write(' Compilation report: '), write(Report), nl,
|
||||||
|
lgt_default_flag(smart_compilation, Smart),
|
||||||
|
write(' Smart compilation: '), write(Smart), nl, nl.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
:- initialization(lgt_startup_message).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
% Logtalk - Object oriented extension to Prolog
|
% Logtalk - Object oriented extension to Prolog
|
||||||
% Release 2.12.0
|
% Release 2.13.0
|
||||||
%
|
%
|
||||||
% configuration file for YAP Prolog 4.3.x
|
% configuration file for YAP Prolog 4.3.x
|
||||||
%
|
%
|
||||||
|
Reference in New Issue
Block a user