diff --git a/Logtalk/QUICK_START b/Logtalk/QUICK_START
index 5ddb7785c..aa470255f 100644
--- a/Logtalk/QUICK_START
+++ b/Logtalk/QUICK_START
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/README b/Logtalk/README
index 3812ce092..120c6cf89 100644
--- a/Logtalk/README
+++ b/Logtalk/README
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
@@ -103,7 +103,7 @@ Logtalk since the first public version. Read it carefully if you have
been using a previous Logtalk version.
The file QUICK_START provides quick instructions for those of you in a hurry
-to run Logtalk, provided that your usual Prolog compiler is supported.
+to run Logtalk, provided that your favorite Prolog compiler is supported.
7. UPGRADING
@@ -114,7 +114,7 @@ instructions on how to upgrade your programs to run under this new version.
8. CONTRIBUTIONS
-Contributions, constructive criticisms, code and suggestions are always
+Contributions, constructive criticisms, code, and suggestions are always
welcome. If you want to contribute to this project, drop me a line to the
support address given above.
diff --git a/Logtalk/RELEASE_NOTES b/Logtalk/RELEASE_NOTES
index 9de6591db..d74ff134a 100644
--- a/Logtalk/RELEASE_NOTES
+++ b/Logtalk/RELEASE_NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
@@ -10,6 +10,26 @@ RELEASE NOTES
=============
+2.15.4 - July 9, 2003
+
+ Corrected a spurious backtracking bug in the DCG rule translator. Added
+ two more examples of DCGs.
+
+ New config file for XSB 2.6. Updated Logtalk compiler to compile cleanly
+ under XSB after applying the patch described in configs/NOTES.
+
+ Updated SWI-Prolog config file to hide compiled entity predicates (requires
+ SWI-Prolog 5.2.3 or later version). New optional file configs/swihook.pl
+ contains hook code that allows Logtalk entities to be compiled and loaded
+ using SWI-Prolog load_files/2 and consult/1 predicates.
+
+ Syntax definition file for the Hydra 1.1 (MacOS X) text editor providing
+ syntax coloring for editing Logtalk source files.
+
+ Updated syntax coloring files for jEdit, NEdit, Vim, and TextPad in order
+ to recognize character code constants (0'x) and the DCG operator -->/2.
+
+
2.15.3 - June 27, 2003
Updated experimental support for DCG rules to prevent over-simplification
diff --git a/Logtalk/UPGRADING b/Logtalk/UPGRADING
index 79b097c3f..31e1c1768 100644
--- a/Logtalk/UPGRADING
+++ b/Logtalk/UPGRADING
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/NOTES b/Logtalk/examples/NOTES
index c256d27d1..edabd0cb1 100644
--- a/Logtalk/examples/NOTES
+++ b/Logtalk/examples/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/birds/NOTES b/Logtalk/examples/birds/NOTES
index 839c02a00..c6fa296e2 100644
--- a/Logtalk/examples/birds/NOTES
+++ b/Logtalk/examples/birds/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/birds/SCRIPT b/Logtalk/examples/birds/SCRIPT
index 95e39b39d..429244cfa 100644
--- a/Logtalk/examples/birds/SCRIPT
+++ b/Logtalk/examples/birds/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/bricks/NOTES b/Logtalk/examples/bricks/NOTES
index 52c92d781..719c537bb 100644
--- a/Logtalk/examples/bricks/NOTES
+++ b/Logtalk/examples/bricks/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/bricks/SCRIPT b/Logtalk/examples/bricks/SCRIPT
index d9a41274a..162f1b0a3 100644
--- a/Logtalk/examples/bricks/SCRIPT
+++ b/Logtalk/examples/bricks/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/classvars/NOTES b/Logtalk/examples/classvars/NOTES
index 3d429c264..4aef1ff3d 100644
--- a/Logtalk/examples/classvars/NOTES
+++ b/Logtalk/examples/classvars/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/classvars/SCRIPT b/Logtalk/examples/classvars/SCRIPT
index 6175540e1..84f547c01 100644
--- a/Logtalk/examples/classvars/SCRIPT
+++ b/Logtalk/examples/classvars/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/dcgs/NOTES b/Logtalk/examples/dcgs/NOTES
index 889f9eb3c..d8bb7cd1d 100644
--- a/Logtalk/examples/dcgs/NOTES
+++ b/Logtalk/examples/dcgs/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/dcgs/SCRIPT b/Logtalk/examples/dcgs/SCRIPT
index 41c5c717c..713fedd53 100644
--- a/Logtalk/examples/dcgs/SCRIPT
+++ b/Logtalk/examples/dcgs/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
@@ -33,3 +33,45 @@ yes
Tree = Tree = s(np(d(the), n(girl)), vp(v(likes), np(d(the), n(boy))))
yes
+
+
+% conversion between compound terms and XML
+
+| ?- xml::convert(word(child, children), word(singular, plural), XML).
+
+XML = 'childchildren'
+yes
+
+| ?- xml::convert(Term, Interpretation, 'childchildren').
+
+Term = word(child, children)
+Interpretation = word(singular, plural)
+yes
+
+
+% parsing URLs
+
+| ?- url::parse("http://www.logtalk.org", Components).
+
+Components = [protocol(http), address([www, logtalk, org]), path([]), file('')]
+yes
+
+| ?- url::parse("http://www.logtalk.org/", Components).
+
+Components = [protocol(http), address([www, logtalk, org]), path(['']), file('')]
+yes
+
+| ?- url::parse("http://www.logtalk.org/cvs", Components).
+
+Components = [protocol(http), address([www, logtalk, org]), path([cvs]), file('')]
+yes
+
+| ?- url::parse("http://www.logtalk.org/cvs.html", Components).
+
+Components = [protocol(http), address([www, logtalk, org]), path([]), file('cvs.html')]
+yes
+
+| ?- url::parse("http://193.136.64.5/files/update", Components).
+
+Components = [protocol(http), address([193, 136, 64, 5]), path([files, update]), file('')]
+yes
diff --git a/Logtalk/examples/dcgs/dcgs.loader b/Logtalk/examples/dcgs/dcgs.loader
index 929f270ec..4b00b58b8 100644
--- a/Logtalk/examples/dcgs/dcgs.loader
+++ b/Logtalk/examples/dcgs/dcgs.loader
@@ -7,4 +7,6 @@
determiners,
nouns,
verbs,
- sentence])).
+ sentence,
+ url,
+ xml])).
diff --git a/Logtalk/examples/dcgs/url.lgt b/Logtalk/examples/dcgs/url.lgt
new file mode 100644
index 000000000..a7281a717
--- /dev/null
+++ b/Logtalk/examples/dcgs/url.lgt
@@ -0,0 +1,67 @@
+:- object(url).
+
+
+ :- info([
+ version is 1.0,
+ date is 2003/7/7,
+ author is 'Paulo Moura',
+ comment is 'Simple example of URL parsing.']).
+
+
+ :- public(parse/2).
+
+ :- mode(parse(@list, -list), zero_or_one).
+
+ :- info(parse/2, [
+ comment is 'Parses a URL into its components.',
+ argnames is ['URL', 'Components']]).
+
+
+ parse(URL, [protocol(Protocol), address(Address), path(Path), file(File)]) :-
+ phrase(url(Protocol, Address, Path, File), URL).
+
+
+ url(Protocol, Address, Path, File) --> protocol(Protocol), "://", address(Address), path(Path), file(File).
+
+
+ protocol(ftp) --> "ftp".
+ protocol(http) --> "http".
+ protocol(https) --> "https".
+ protocol(rtsp) --> "rtsp".
+
+
+ address(Address) --> ip_number(Address).
+ address([Identifier| Identifiers]) --> identifier(Identifier), dot_identifiers(Identifiers).
+
+
+ ip_number([N1, N2, N3, N4]) --> ip_subnumber(N1), ".", ip_subnumber(N2), ".", ip_subnumber(N3), ".", ip_subnumber(N4).
+
+ ip_subnumber(N) --> [N1, N2, N3], {N is N3 - 0'0 + 10*(N2 - 0'0) + 100*(N1 - 0'0), N >= 0, N =< 255}.
+ ip_subnumber(N) --> [N1, N2], {N is N2 - 0'0 + 10*(N1 - 0'0), N >= 0, N =< 255}.
+ ip_subnumber(N) --> [N1], {N is N1 - 0'0, N >= 0, N =< 255}.
+
+
+ identifier(Identifier) --> characters(Codes), {atom_codes(Identifier, Codes)}.
+
+
+ characters([]) --> [].
+ characters([Code| Codes]) --> [Code], {character(Code)}, characters(Codes).
+
+
+ character(Code) :- Code @>= 0'a, Code @=< 0'z, !.
+ character(Code) :- Code @>= 0'A, Code @=< 0'Z.
+
+
+ dot_identifiers([]) --> [].
+ dot_identifiers([Identifier| Identifiers]) --> ".", identifier(Identifier), dot_identifiers(Identifiers).
+
+
+ path([]) --> [].
+ path([Identifier| Path]) --> "/", identifier(Identifier), path(Path).
+
+
+ file('') --> [].
+ file(File) --> "/", identifier(Name), ".", identifier(Extension), {atom_concat(Name, '.', Aux), atom_concat(Aux, Extension, File)}.
+
+
+:- end_object.
diff --git a/Logtalk/examples/dcgs/xml.lgt b/Logtalk/examples/dcgs/xml.lgt
new file mode 100644
index 000000000..dbdbf4455
--- /dev/null
+++ b/Logtalk/examples/dcgs/xml.lgt
@@ -0,0 +1,78 @@
+
+:- object(xml).
+
+
+ :- info([
+ version is 1.0,
+ date is 2003/7/7,
+ author is 'Paulo Moura',
+ comment is 'Conversion between compound terms and XML.']).
+
+
+ :- public(convert/3).
+
+ :- mode(convert(@compound, @compound, -atom), zero_or_one).
+ :- mode(convert(-compound, -compound, +atom), zero_or_one).
+
+ :- info(convert/3, [
+ comment is 'Converts between a compound term and an interpretation and XML.',
+ argnames is ['Term', 'Interpretation', 'XML']]).
+
+
+ convert(Term, Interpretation, XML) :-
+ var(XML) ->
+ phrase(term(Term, Interpretation), List),
+ atom_codes(XML, List)
+ ;
+ atom_codes(XML, List),
+ phrase(term(Term, Interpretation), List).
+
+
+ term(Term, Interpretation) -->
+ {nonvar(Term), nonvar(Interpretation),
+ Interpretation =.. [Functor| Tags], Term =.. [Functor| Args]},
+ open_tag(Functor),
+ arguments(Tags, Args),
+ close_tag(Functor).
+
+ term(Term, Interpretation) -->
+ {var(Term), var(Interpretation)},
+ open_tag(Functor),
+ arguments(Tags, Args),
+ close_tag(Functor),
+ {Interpretation =.. [Functor| Tags], Term =.. [Functor| Args]}.
+
+
+ arguments([], []) -->
+ [].
+
+ arguments([Tag| Tags], [Arg| Args]) -->
+ open_tag(Tag),
+ value(Arg),
+ close_tag(Tag),
+ arguments(Tags, Args).
+
+
+ open_tag(Tag) -->
+ "<", value(Tag), ">".
+
+ close_tag(Tag) -->
+ "", value(Tag), ">".
+
+
+ value(Value) -->
+ {nonvar(Value), atom_codes(Value, Codes)}, characters(Codes).
+
+ value(Value) -->
+ {var(Value)}, characters(Codes), {atom_codes(Value, Codes)}.
+
+
+ characters([]) --> [].
+ characters([Code| Codes]) --> [Code], {character(Code)}, characters(Codes).
+
+
+ character(Code) :- Code @>= 0'a, Code @=< 0'z, !.
+ character(Code) :- Code @>= 0'A, Code @=< 0'Z.
+
+
+:- end_object.
diff --git a/Logtalk/examples/dynpred/NOTES b/Logtalk/examples/dynpred/NOTES
index 189483cd6..8909b6d0b 100644
--- a/Logtalk/examples/dynpred/NOTES
+++ b/Logtalk/examples/dynpred/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/dynpred/SCRIPT b/Logtalk/examples/dynpred/SCRIPT
index 28a4fd589..7f2199768 100644
--- a/Logtalk/examples/dynpred/SCRIPT
+++ b/Logtalk/examples/dynpred/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/errors/NOTES b/Logtalk/examples/errors/NOTES
index 27665ca54..a16c05a67 100644
--- a/Logtalk/examples/errors/NOTES
+++ b/Logtalk/examples/errors/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/inheritance/NOTES b/Logtalk/examples/inheritance/NOTES
index f9b0e26be..74a08973d 100644
--- a/Logtalk/examples/inheritance/NOTES
+++ b/Logtalk/examples/inheritance/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/inheritance/SCRIPT b/Logtalk/examples/inheritance/SCRIPT
index e5e7d36e1..536775b24 100644
--- a/Logtalk/examples/inheritance/SCRIPT
+++ b/Logtalk/examples/inheritance/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/instmethods/NOTES b/Logtalk/examples/instmethods/NOTES
index ffa0b9b9b..c95e5d1d5 100644
--- a/Logtalk/examples/instmethods/NOTES
+++ b/Logtalk/examples/instmethods/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/instmethods/SCRIPT b/Logtalk/examples/instmethods/SCRIPT
index c7926a73e..343da6165 100644
--- a/Logtalk/examples/instmethods/SCRIPT
+++ b/Logtalk/examples/instmethods/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lo/NOTES b/Logtalk/examples/lo/NOTES
index 2e9fe6622..ae1a3d7ff 100644
--- a/Logtalk/examples/lo/NOTES
+++ b/Logtalk/examples/lo/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lo/planner/NOTES b/Logtalk/examples/lo/planner/NOTES
index 796275827..978d86cda 100644
--- a/Logtalk/examples/lo/planner/NOTES
+++ b/Logtalk/examples/lo/planner/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lo/planner/SCRIPT b/Logtalk/examples/lo/planner/SCRIPT
index b32daae52..8c2012ec3 100644
--- a/Logtalk/examples/lo/planner/SCRIPT
+++ b/Logtalk/examples/lo/planner/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lo/travellers/NOTES b/Logtalk/examples/lo/travellers/NOTES
index c59f2af4f..ac1b2a145 100644
--- a/Logtalk/examples/lo/travellers/NOTES
+++ b/Logtalk/examples/lo/travellers/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lo/travellers/SCRIPT b/Logtalk/examples/lo/travellers/SCRIPT
index 67b91840f..5bf328aa7 100644
--- a/Logtalk/examples/lo/travellers/SCRIPT
+++ b/Logtalk/examples/lo/travellers/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lpa/NOTES b/Logtalk/examples/lpa/NOTES
index 748938172..c2f862206 100644
--- a/Logtalk/examples/lpa/NOTES
+++ b/Logtalk/examples/lpa/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/lpa/SCRIPT b/Logtalk/examples/lpa/SCRIPT
index 2fe21d9bd..ff780b0cc 100644
--- a/Logtalk/examples/lpa/SCRIPT
+++ b/Logtalk/examples/lpa/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/metapredicates/NOTES b/Logtalk/examples/metapredicates/NOTES
index 52eee8e88..bb1e2130b 100644
--- a/Logtalk/examples/metapredicates/NOTES
+++ b/Logtalk/examples/metapredicates/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/metapredicates/SCRIPT b/Logtalk/examples/metapredicates/SCRIPT
index bac2439a3..a0f8024a2 100644
--- a/Logtalk/examples/metapredicates/SCRIPT
+++ b/Logtalk/examples/metapredicates/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/mi/NOTES b/Logtalk/examples/mi/NOTES
index 9cee94a7c..2aeb6032e 100644
--- a/Logtalk/examples/mi/NOTES
+++ b/Logtalk/examples/mi/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/mi/SCRIPT b/Logtalk/examples/mi/SCRIPT
index 9239e4213..8bd4b096a 100644
--- a/Logtalk/examples/mi/SCRIPT
+++ b/Logtalk/examples/mi/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/miscellaneous/NOTES b/Logtalk/examples/miscellaneous/NOTES
index 9532d08d6..2d5c65e48 100644
--- a/Logtalk/examples/miscellaneous/NOTES
+++ b/Logtalk/examples/miscellaneous/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/miscellaneous/SCRIPT b/Logtalk/examples/miscellaneous/SCRIPT
index 919b48c45..8e8209476 100644
--- a/Logtalk/examples/miscellaneous/SCRIPT
+++ b/Logtalk/examples/miscellaneous/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/msglog/NOTES b/Logtalk/examples/msglog/NOTES
index 575b8f8ff..edf7b747a 100644
--- a/Logtalk/examples/msglog/NOTES
+++ b/Logtalk/examples/msglog/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/msglog/SCRIPT b/Logtalk/examples/msglog/SCRIPT
index b4ec3d35a..0b1150893 100644
--- a/Logtalk/examples/msglog/SCRIPT
+++ b/Logtalk/examples/msglog/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/parametric/NOTES b/Logtalk/examples/parametric/NOTES
index 6d994c417..4c3dfd5b5 100644
--- a/Logtalk/examples/parametric/NOTES
+++ b/Logtalk/examples/parametric/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/parametric/SCRIPT b/Logtalk/examples/parametric/SCRIPT
index 2a0b96d3c..8db070c8d 100644
--- a/Logtalk/examples/parametric/SCRIPT
+++ b/Logtalk/examples/parametric/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/points/NOTES b/Logtalk/examples/points/NOTES
index 87d1eaef9..a62269bfd 100644
--- a/Logtalk/examples/points/NOTES
+++ b/Logtalk/examples/points/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/points/SCRIPT b/Logtalk/examples/points/SCRIPT
index a75f62b44..6a3b235dc 100644
--- a/Logtalk/examples/points/SCRIPT
+++ b/Logtalk/examples/points/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/polygons/NOTES b/Logtalk/examples/polygons/NOTES
index 014fa8a89..36e07dad1 100644
--- a/Logtalk/examples/polygons/NOTES
+++ b/Logtalk/examples/polygons/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/polygons/SCRIPT b/Logtalk/examples/polygons/SCRIPT
index eeb858730..201968c92 100644
--- a/Logtalk/examples/polygons/SCRIPT
+++ b/Logtalk/examples/polygons/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/profiling/NOTES b/Logtalk/examples/profiling/NOTES
index bd475084a..a6caaa689 100644
--- a/Logtalk/examples/profiling/NOTES
+++ b/Logtalk/examples/profiling/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/profiling/SCRIPT b/Logtalk/examples/profiling/SCRIPT
index a22de8334..70c040bf2 100644
--- a/Logtalk/examples/profiling/SCRIPT
+++ b/Logtalk/examples/profiling/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/reflection/NOTES b/Logtalk/examples/reflection/NOTES
index 360b902e1..71ca2dd35 100644
--- a/Logtalk/examples/reflection/NOTES
+++ b/Logtalk/examples/reflection/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/reflection/SCRIPT b/Logtalk/examples/reflection/SCRIPT
index ab080e05a..0ed126b35 100644
--- a/Logtalk/examples/reflection/SCRIPT
+++ b/Logtalk/examples/reflection/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/relations/NOTES b/Logtalk/examples/relations/NOTES
index 89bf09130..5c8d39c41 100644
--- a/Logtalk/examples/relations/NOTES
+++ b/Logtalk/examples/relations/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/relations/SCRIPT b/Logtalk/examples/relations/SCRIPT
index f6fa928c6..e398fb2c9 100644
--- a/Logtalk/examples/relations/SCRIPT
+++ b/Logtalk/examples/relations/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/roots/NOTES b/Logtalk/examples/roots/NOTES
index d927b6fe1..ad23b0d76 100644
--- a/Logtalk/examples/roots/NOTES
+++ b/Logtalk/examples/roots/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/roots/SCRIPT b/Logtalk/examples/roots/SCRIPT
index 05650070f..4986c5e64 100644
--- a/Logtalk/examples/roots/SCRIPT
+++ b/Logtalk/examples/roots/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/searching/NOTES b/Logtalk/examples/searching/NOTES
index 89ec6dd30..a91377290 100644
--- a/Logtalk/examples/searching/NOTES
+++ b/Logtalk/examples/searching/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/searching/SCRIPT b/Logtalk/examples/searching/SCRIPT
index 8d12bde3b..6bd5e9052 100644
--- a/Logtalk/examples/searching/SCRIPT
+++ b/Logtalk/examples/searching/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/shapes/NOTES b/Logtalk/examples/shapes/NOTES
index 23a9eac20..fd164cd26 100644
--- a/Logtalk/examples/shapes/NOTES
+++ b/Logtalk/examples/shapes/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/shapes/ch/NOTES b/Logtalk/examples/shapes/ch/NOTES
index 79a5e3283..83096aa12 100644
--- a/Logtalk/examples/shapes/ch/NOTES
+++ b/Logtalk/examples/shapes/ch/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/shapes/ch/SCRIPT b/Logtalk/examples/shapes/ch/SCRIPT
index b4b93e91d..923ef638d 100644
--- a/Logtalk/examples/shapes/ch/SCRIPT
+++ b/Logtalk/examples/shapes/ch/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/shapes/ph/NOTES b/Logtalk/examples/shapes/ph/NOTES
index 7dd6681ec..06fadc098 100644
--- a/Logtalk/examples/shapes/ph/NOTES
+++ b/Logtalk/examples/shapes/ph/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/shapes/ph/SCRIPT b/Logtalk/examples/shapes/ph/SCRIPT
index a4c1898c9..1e8a4843c 100644
--- a/Logtalk/examples/shapes/ph/SCRIPT
+++ b/Logtalk/examples/shapes/ph/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/sicstus/NOTES b/Logtalk/examples/sicstus/NOTES
index a59cf25fc..2933c4570 100644
--- a/Logtalk/examples/sicstus/NOTES
+++ b/Logtalk/examples/sicstus/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/sicstus/SCRIPT b/Logtalk/examples/sicstus/SCRIPT
index a6418039f..cecc2b304 100644
--- a/Logtalk/examples/sicstus/SCRIPT
+++ b/Logtalk/examples/sicstus/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/symdiff/NOTES b/Logtalk/examples/symdiff/NOTES
index dcf26ae95..c42ea9e0a 100644
--- a/Logtalk/examples/symdiff/NOTES
+++ b/Logtalk/examples/symdiff/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/symdiff/SCRIPT b/Logtalk/examples/symdiff/SCRIPT
index 6026e8219..ef6e314b7 100644
--- a/Logtalk/examples/symdiff/SCRIPT
+++ b/Logtalk/examples/symdiff/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/viewpoints/NOTES b/Logtalk/examples/viewpoints/NOTES
index 9dc0aebf8..44f2f5d99 100644
--- a/Logtalk/examples/viewpoints/NOTES
+++ b/Logtalk/examples/viewpoints/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/examples/viewpoints/SCRIPT b/Logtalk/examples/viewpoints/SCRIPT
index 002906499..743e3514a 100644
--- a/Logtalk/examples/viewpoints/SCRIPT
+++ b/Logtalk/examples/viewpoints/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/NOTES b/Logtalk/library/NOTES
index 49734689e..7eb18bd2e 100644
--- a/Logtalk/library/NOTES
+++ b/Logtalk/library/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/SCRIPT b/Logtalk/library/SCRIPT
index ee847671f..84923327c 100644
--- a/Logtalk/library/SCRIPT
+++ b/Logtalk/library/SCRIPT
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/all.notes b/Logtalk/library/all.notes
index a465c1bcd..c2f184f04 100644
--- a/Logtalk/library/all.notes
+++ b/Logtalk/library/all.notes
@@ -1,7 +1,7 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/dates.notes b/Logtalk/library/dates.notes
index d548f6444..08ca5c11d 100644
--- a/Logtalk/library/dates.notes
+++ b/Logtalk/library/dates.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/debugging.notes b/Logtalk/library/debugging.notes
index 10f7f8b50..3faaaa53b 100644
--- a/Logtalk/library/debugging.notes
+++ b/Logtalk/library/debugging.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/events.notes b/Logtalk/library/events.notes
index 8ee8e8e74..4a5de8648 100644
--- a/Logtalk/library/events.notes
+++ b/Logtalk/library/events.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/hierarchies.notes b/Logtalk/library/hierarchies.notes
index a1c3d0220..5ff513e97 100644
--- a/Logtalk/library/hierarchies.notes
+++ b/Logtalk/library/hierarchies.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/metapredicates.notes b/Logtalk/library/metapredicates.notes
index b7bd0adad..7af762f2b 100644
--- a/Logtalk/library/metapredicates.notes
+++ b/Logtalk/library/metapredicates.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/random.notes b/Logtalk/library/random.notes
index 84a06e6d1..1ee131c95 100644
--- a/Logtalk/library/random.notes
+++ b/Logtalk/library/random.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/library/types.notes b/Logtalk/library/types.notes
index 0a8038772..893905bc6 100644
--- a/Logtalk/library/types.notes
+++ b/Logtalk/library/types.notes
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/manuals/NOTES b/Logtalk/manuals/NOTES
index 5ec267e24..8fd3afd20 100644
--- a/Logtalk/manuals/NOTES
+++ b/Logtalk/manuals/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/manuals/index.html b/Logtalk/manuals/index.html
index 5fa0160ae..99a2b3325 100644
--- a/Logtalk/manuals/index.html
+++ b/Logtalk/manuals/index.html
@@ -7,14 +7,14 @@
- Logtalk 2.15.3 Documentation
+ Logtalk 2.15.4 Documentation
-Logtalk 2.15.3
+Logtalk 2.15.4
Documentation
@@ -45,7 +45,7 @@
-Last updated on: June 4, 2003
+Last updated on: July 7, 2003
diff --git a/Logtalk/wenv/NOTES b/Logtalk/wenv/NOTES
index 383404df3..cc88c2ad8 100644
--- a/Logtalk/wenv/NOTES
+++ b/Logtalk/wenv/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/hydra/NOTES b/Logtalk/wenv/hydra/NOTES
new file mode 100644
index 000000000..2d6436d92
--- /dev/null
+++ b/Logtalk/wenv/hydra/NOTES
@@ -0,0 +1,18 @@
+=================================================================
+Logtalk - Object oriented extension to Prolog
+Release 2.15.4
+
+Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
+=================================================================
+
+
+This directory contains files that provide syntax highlighting
+for editing Logtalk source files with the Hydra text editor
+(http://hydra.globalse.org/).
+
+
+To install copy the file "logtalk.plist" to the folder
+"~/Library/Application Support/Hydra/Syntax Definitions/" or to
+"/Library/Application Support/Hydra/Syntax Definitions/"
+(create the folder if it does not exist).
+
diff --git a/Logtalk/wenv/hydra/logtalk.plist b/Logtalk/wenv/hydra/logtalk.plist
new file mode 100644
index 000000000..abf882887
--- /dev/null
+++ b/Logtalk/wenv/hydra/logtalk.plist
@@ -0,0 +1,440 @@
+
+
+
+
+
+ Header
+
+ Name
+ Logtalk
+ Extensions
+ lgt
+ Valid Characters for Variables
+ _0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
+
+
+ Styles
+
+
+
+ Name
+ Entity Directives
+ Color
+
+ 0.408
+ 0.220
+ 0.129
+
+ Multiline
+
+ Regular Expressions
+
+ \:\-[[:space:]](object)
+ \:\-[[:space:]](end_object)\.
+ \:\-[[:space:]](protocol)
+ \:\-[[:space:]](end_protocol)\.
+ \:\-[[:space:]](category)
+ \:\-[[:space:]](end_category)\.
+ \:\-[[:space:]](initialization)\(
+ \:\-[[:space:]](info)\(
+ \:\-[[:space:]](mode)\(
+ \:\-[[:space:]](dynamic)\(
+ \:\-[[:space:]](dynamic)\.
+ \:\-[[:space:]](discontiguous)\(
+ \:\-[[:space:]](public)\(
+ \:\-[[:space:]](protected)\(
+ \:\-[[:space:]](private)\(
+ \:\-[[:space:]](metapredicate)\(
+ \:\-[[:space:]](op)\(
+ \:\-[[:space:]](calls)\(
+ \:\-[[:space:]](uses)\(
+
+
+
+
+ Name
+ Entity Relations
+ Color
+
+ 0.408
+ 0.220
+ 0.129
+
+ Multiline
+
+ Regular Expressions
+
+ (instantiates)\(
+ (specializes)\(
+ (extends)\(
+ (imports)\(
+ (implements)\(
+
+
+
+
+ Name
+ Message Sending Operators
+ Color
+
+ 0.000
+ 0.000
+ 1.000
+
+ Multiline
+
+ Regular Expressions
+
+ ::
+ \^\^
+
+
+
+
+ Name
+ Control Constructs
+ Color
+
+ 0.463
+ 0.059
+ 0.298
+
+ Multiline
+
+ Regular Expressions
+
+ (call)\(
+ (catch)\(
+ (throw)\(
+ (true)
+ (fail)
+
+
+
+
+ Name
+ External Call
+ Color
+
+ 0.463
+ 0.059
+ 0.298
+
+ Multiline
+
+ Multiline Begin
+ ({)
+ Multiline End
+ (})
+
+
+
+ Name
+ Built-in Methods
+ Color
+
+ 0.463
+ 0.059
+ 0.298
+
+ Multiline
+
+ Regular Expressions
+
+ (parameter)\(
+ (self)\(
+ (sender)\(
+ (this)\(
+ (current_predicate)\(
+ (predicate_property)\(
+ (abolish)\(
+ (asserta)\(
+ (assertz)\(
+ (clause)\(
+ (retract)\(
+ (retractall)\(
+ (bagof)\(
+ (findall)\(
+ (forall)\(
+ (setof)\(
+ (before)\(
+ (after)\(
+ (phrase)\(
+
+
+
+
+ Name
+ Built-in Predicates
+ Color
+
+ 0.463
+ 0.059
+ 0.298
+
+ Multiline
+
+ Regular Expressions
+
+ (current_object)\(
+ (current_protocol)\(
+ (current_category)\(
+ (create_object)\(
+ (create_protocol)\(
+ (create_category)\(
+ (object_property)\(
+ (protocol_property)\(
+ (category_property)\(
+ (abolish_object)\(
+ (abolish_protocol)\(
+ (abolish_category)\(
+ (extends_object)\(
+ (extends_protocol)\(
+ (implements_protocol)\(
+ (instantiates_object)\(
+ (specializes_object)\(
+ (imports_category)\(
+ (abolish_events)\(
+ (current_event)\(
+ (define_events)\(
+ (current_logtalk_flag)\(
+ (set_logtalk_flag)\(
+ (logtalk_compile)\(
+ (logtalk_load)\(
+ (forall)\(
+ (logtalk_version)\(
+ (retractall)\(
+
+
+
+
+ Name
+ Other Built-in Predicates
+ Color
+
+ 0.463
+ 0.059
+ 0.298
+
+ Multiline
+
+ Regular Expressions
+
+
+ [[:space:]]+(=)[[:space:]]+
+ [[:space:]]+(\\=)[[:space:]]+
+ (unify_with_occurs_check)\(
+
+ (var)\(
+ (atom)\(
+ (integer)\(
+ (float)\(
+ (atomic)\(
+ (compound)\(
+ (nonvar)\(
+ (number)\(
+
+ [[:space:]]+(==)[[:space:]]+
+ [[:space:]]+(\\==)[[:space:]]+
+ [[:space:]]+(@=<)[[:space:]]+
+ [[:space:]]+(@<)[[:space:]]+
+ [[:space:]]+(@>=)[[:space:]]+
+ [[:space:]]+(@>)[[:space:]]+
+
+ (functor)\(
+ (arg)\(
+ [[:space:]]+(=\.\.)[[:space:]]+
+ (copy_term)\(
+
+ [[:space:]]+(is)[[:space:]]+
+
+ [[:space:]]+(=:=)[[:space:]]+
+ [[:space:]]+(=\=)[[:space:]]+
+ [[:space:]]+(<)[[:space:]]+
+ [[:space:]]+(=<)[[:space:]]+
+ [[:space:]]+(>)[[:space:]]+
+ [[:space:]]+(>=)[[:space:]]+
+
+ [[:space:]]+(\+)[[:space:]]+
+ [[:space:]]+(\-)[[:space:]]+
+ [[:space:]]+(\*)[[:space:]]+
+ [[:space:]]+(//)[[:space:]]+
+ [[:space:]]+(/)[[:space:]]+
+ [[:space:]]+(rem)[[:space:]]+
+ [[:space:]]+(mod)[[:space:]]+
+ (rem)\(
+ (mod)\(
+ (abs)\(
+ (sign)\(
+ (float_integer_part)\(
+ (float_fractional_part)\(
+ (float)\(
+ (floor)\(
+ (truncate)\(
+ (round)\(
+ (ceiling)\(
+
+ [[:space:]]+(\*\*)[[:space:]]+
+ (sin)\(
+ (cos)\(
+ (atan)\(
+ (exp)\(
+ (log)\(
+ (sqrt)\(
+
+ [[:space:]]+(>>)[[:space:]]+
+ [[:space:]]+(<<)[[:space:]]+
+ [[:space:]]+(/\\)[[:space:]]+
+ [[:space:]]+(\\/)[[:space:]]+
+ [[:space:]]+(\\)[[:space:]]+
+
+ (current_input)\(
+ (current_output)\(
+ (set_input)\(
+ (set_output)\(
+ (open)\(
+ (close)\(
+ (flush_output)
+ (stream_property)\(
+ (at_end_of_stream)
+ (set_stream_position)\(
+
+ (get_char)\(
+ (get_code)\(
+ (peek_char)\(
+ (peek_code)\(
+ (put_char)\(
+ (put_code)\(
+ (nl)
+
+ (get_byte)\(
+ (peek_byte)\(
+ (put_byte)\(
+
+ (read_term)\(
+ (read)\(
+ (write_term)\(
+ (write)\(
+ (writeq)\(
+ (write_canonical)\(
+ (op)\(
+ (current_op)\(
+ (char_conversion)\(
+ (current_char_conversion)\(
+
+ (\\\+)[[:space:]]+
+ (once)\(
+ (repeat)
+
+ (atom_length)\(
+ (atom_concat)\(
+ (sub_atom)\(
+ (atom_chars)\(
+ (atom_codes)\(
+ (char_code)\(
+ (number_chars)\(
+ (number_codes)\(
+
+ (set_prolog_flag)\(
+ (current_prolog_flag)\(
+ (halt)
+
+
+
+
+ Name
+ Numbers
+ Color
+
+ 0.000
+ 0.000
+ 0.404
+
+ Multiline
+
+ Plain Strings
+
+ [0-9]+\.*[0-9]+([eE][-+][1-9][0-9]*)?
+ 0b[0-1]+
+ 0o[0-8]+
+ 0x[0-9a-fA-F]+
+
+
+
+
+ Name
+ Quoted Atoms and Strings
+ Color
+
+ 0.537
+ 0.075
+ 0.082
+
+ Multiline
+
+ Regular Expressions
+
+ '(.+)'
+ "(.+)"
+
+
+
+
+ Name
+ Character Code Constants
+ Color
+
+ 0.000
+ 0.000
+ 0.404
+
+ Multiline
+
+ Regular Expressions
+
+ (0'[[:alnum:]])
+
+
+
+
+ Name
+ Single Line Comment
+ Color
+
+ 0.137
+ 0.431
+ 0.145
+
+ Multiline
+
+ Comment
+
+ Regular Expressions
+
+ %.*
+
+
+
+
+ Name
+ Block Comment
+ Color
+
+ 0.137
+ 0.431
+ 0.145
+
+ Multiline
+
+ Comment
+
+ Multiline Begin
+ /*
+ Multiline End
+ */
+
+
+
+
+
+
diff --git a/Logtalk/wenv/jedit/NOTES b/Logtalk/wenv/jedit/NOTES
index 6e9963856..16f44b992 100644
--- a/Logtalk/wenv/jedit/NOTES
+++ b/Logtalk/wenv/jedit/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/jedit/logtalk.xml b/Logtalk/wenv/jedit/logtalk.xml
index c26885b37..eef84f449 100644
--- a/Logtalk/wenv/jedit/logtalk.xml
+++ b/Logtalk/wenv/jedit/logtalk.xml
@@ -4,10 +4,10 @@
%
@@ -34,6 +34,8 @@
*/
+ 0'[[:alnum:]]
+
'
@@ -203,6 +205,8 @@
before
after
+ phrase
+
true
fail
@@ -210,6 +214,7 @@
!
,
;
+ -->
->
catch
throw
@@ -410,7 +415,7 @@
-
+
diff --git a/Logtalk/wenv/nedit/NOTES b/Logtalk/wenv/nedit/NOTES
index 6261954d5..6c0dd2588 100644
--- a/Logtalk/wenv/nedit/NOTES
+++ b/Logtalk/wenv/nedit/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/nedit/logtalk.pats b/Logtalk/wenv/nedit/logtalk.pats
index 56a46cbce..b49ade577 100644
--- a/Logtalk/wenv/nedit/logtalk.pats
+++ b/Logtalk/wenv/nedit/logtalk.pats
@@ -2,7 +2,7 @@
!
! Author: Paulo Moura (pmoura at logtalk.org)
!
-! Last changed in: September 6, 2002
+! Last changed in: July 7, 2003
!
!
! To install this patterns file:
@@ -27,11 +27,12 @@ nedit.highlightPatterns: Logtalk:1:0{\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\
+ Control constructs:"!|,|;|\\-\\-\\>|\\-\\>|<(true|fail|call|catch|throw)>":::Subroutine::\n\
Block comment:"/\\*":"\\*/"::Comment::\n\
Line comment:"%":"$"::Comment::\n\
+ Number:"0'":::Plain::\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\
+ Built-in methods:"<(parameter|self|sender|this|current_predicate|predicate_property|abolish|asserta|assertz|retractall|retract|bagof|findall|forall|setof|before|after|phrase)>":::Subroutine::\n\
Arithmetic operators:"|\\+|\\*|\\-|/|=:=|=\\\\=|=\\<|\\>=|\\<|\\>":::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|retractall)>":::Subroutine1::\n\
Term unification:"=||\\\\=":::Subroutine1::\n\
diff --git a/Logtalk/wenv/pb/NOTES b/Logtalk/wenv/pb/NOTES
index 77f4ea440..e6a0c913e 100644
--- a/Logtalk/wenv/pb/NOTES
+++ b/Logtalk/wenv/pb/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/textpad/NOTES b/Logtalk/wenv/textpad/NOTES
index 3c46765d7..b13392b85 100644
--- a/Logtalk/wenv/textpad/NOTES
+++ b/Logtalk/wenv/textpad/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/textpad/logtalk.syn b/Logtalk/wenv/textpad/logtalk.syn
index 0befbe991..6da7356f3 100644
--- a/Logtalk/wenv/textpad/logtalk.syn
+++ b/Logtalk/wenv/textpad/logtalk.syn
@@ -152,6 +152,7 @@ forall
setof
before
after
+phrase
; Mode operators
?
@@ -164,6 +165,7 @@ call
!
,
;
+-->
->
catch
throw
diff --git a/Logtalk/wenv/vim/NOTES b/Logtalk/wenv/vim/NOTES
index 9ef7642e8..2516c709f 100644
--- a/Logtalk/wenv/vim/NOTES
+++ b/Logtalk/wenv/vim/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/wenv/vim/logtalk.vim b/Logtalk/wenv/vim/logtalk.vim
index c972ce0d1..2e183be0e 100644
--- a/Logtalk/wenv/vim/logtalk.vim
+++ b/Logtalk/wenv/vim/logtalk.vim
@@ -2,7 +2,7 @@
"
" Language: Logtalk
" Maintainer: Paulo Moura
-" Last Change: 2002 September 6
+" Last Change: 2003 July 7
" Quit when a syntax file was already loaded:
@@ -27,7 +27,12 @@ syn match logtalkOperator ":-"
" Logtalk quoted atoms and strings
syn region logtalkString start=+"+ skip=+\\"+ end=+"+
-syn region logtalkAtom start=+'+ skip=+\\'+ end=+'+
+syn region logtalkAtom start=+'+ skip=+\\'+ end=+'+
+
+
+" Logtalk character code constants
+
+syn match logtalkNumber "0'"
" Logtalk message sending operators
@@ -38,7 +43,7 @@ syn match logtalkOperator "\^\^"
" Logtalk external call
-syn region logtalkExtCall matchgroup=logtalkExtCallTag start="{" matchgroup=logtalkExtCallTag end="}" contains=ALL
+syn region logtalkExtCall matchgroup=logtalkExtCallTag start="{" matchgroup=logtalkExtCallTag end="}" contains=ALL
" Logtalk opening entity directives
@@ -145,6 +150,8 @@ syn keyword logtalkBuiltInMethod setof
syn keyword logtalkBuiltInMethod before
syn keyword logtalkBuiltInMethod after
+syn keyword logtalkBuiltInMethod phrase
+
" Mode operators
@@ -160,6 +167,7 @@ syn keyword logtalkKeyword call
syn match logtalkOperator "!"
syn match logtalkOperator ","
syn match logtalkOperator ";"
+syn match logtalkOperator "-->"
syn match logtalkOperator "->"
syn keyword logtalkKeyword catch
syn keyword logtalkKeyword throw
@@ -360,34 +368,36 @@ if version >= 508 || !exists("did_logtalk_syn_inits")
command -nargs=+ HiLink hi def link
endif
- HiLink logtalkBlockComment Comment
- HiLink logtalkLineComment Comment
+ HiLink logtalkBlockComment Comment
+ HiLink logtalkLineComment Comment
HiLink logtalkOpenEntityDir Normal
HiLink logtalkOpenEntityDirTag Statement
- HiLink logtalkEntity Normal
+ HiLink logtalkEntity Normal
- HiLink logtalkEntityRel Normal
- HiLink logtalkEntityRelTag Statement
+ HiLink logtalkEntityRel Normal
+ HiLink logtalkEntityRelTag Statement
HiLink logtalkCloseEntityDir Statement
- HiLink logtalkDir Normal
- HiLink logtalkDirTag Statement
+ HiLink logtalkDir Normal
+ HiLink logtalkDirTag Statement
- HiLink logtalkAtom String
- HiLink logtalkString String
+ HiLink logtalkAtom String
+ HiLink logtalkString String
- HiLink logtalkKeyword Keyword
+ HiLink logtalkNumber Normal
- HiLink logtalkBuiltIn Keyword
+ HiLink logtalkKeyword Keyword
+
+ HiLink logtalkBuiltIn Keyword
HiLink logtalkBuiltInMethod Keyword
- HiLink logtalkOperator Operator
+ HiLink logtalkOperator Operator
- HiLink logtalkExtCall Normal
- HiLink logtalkExtCallTag Operator
+ HiLink logtalkExtCall Normal
+ HiLink logtalkExtCallTag Operator
delcommand HiLink
diff --git a/Logtalk/xml/NOTES b/Logtalk/xml/NOTES
index c91d4a67c..29207cfd2 100644
--- a/Logtalk/xml/NOTES
+++ b/Logtalk/xml/NOTES
@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
-Release 2.15.3
+Release 2.15.4
Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
=================================================================
diff --git a/Logtalk/xml/ie50.xsl b/Logtalk/xml/ie50.xsl
index ecd04cbce..18f8c12f7 100644
--- a/Logtalk/xml/ie50.xsl
+++ b/Logtalk/xml/ie50.xsl
@@ -8,7 +8,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/lgthtml.xsl b/Logtalk/xml/lgthtml.xsl
index d896be848..88fbe2254 100644
--- a/Logtalk/xml/lgthtml.xsl
+++ b/Logtalk/xml/lgthtml.xsl
@@ -14,7 +14,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/lgtpdfa4.xsl b/Logtalk/xml/lgtpdfa4.xsl
index a5812ca09..76e0213d3 100644
--- a/Logtalk/xml/lgtpdfa4.xsl
+++ b/Logtalk/xml/lgtpdfa4.xsl
@@ -9,7 +9,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/lgtpdfus.xsl b/Logtalk/xml/lgtpdfus.xsl
index 1cc5fd73d..e0dce0912 100644
--- a/Logtalk/xml/lgtpdfus.xsl
+++ b/Logtalk/xml/lgtpdfus.xsl
@@ -9,7 +9,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/lgtxml.xsl b/Logtalk/xml/lgtxml.xsl
index ba2eef923..e06992fe2 100644
--- a/Logtalk/xml/lgtxml.xsl
+++ b/Logtalk/xml/lgtxml.xsl
@@ -14,7 +14,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/logtalk.dtd b/Logtalk/xml/logtalk.dtd
index 53fc4e565..9c68b4929 100644
--- a/Logtalk/xml/logtalk.dtd
+++ b/Logtalk/xml/logtalk.dtd
@@ -3,7 +3,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/logtalk.xsd b/Logtalk/xml/logtalk.xsd
index 35849854a..0f87acb6c 100644
--- a/Logtalk/xml/logtalk.xsd
+++ b/Logtalk/xml/logtalk.xsd
@@ -15,7 +15,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/Logtalk/xml/texml.xsl b/Logtalk/xml/texml.xsl
index a9fde5618..3117c1c42 100644
--- a/Logtalk/xml/texml.xsl
+++ b/Logtalk/xml/texml.xsl
@@ -12,7 +12,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
diff --git a/library/logtalk/logtalk.pl b/library/logtalk/logtalk.pl
index ee1123264..3ef8eae6a 100644
--- a/library/logtalk/logtalk.pl
+++ b/library/logtalk/logtalk.pl
@@ -2,7 +2,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% Copyright (c) 1998-2003 Paulo Moura. All Rights Reserved.
%
@@ -1073,7 +1073,7 @@ current_logtalk_flag(Flag, Value) :-
\+ '$lgt_flag_'(Flag, _),
'$lgt_default_flag'(Flag, Value).
-current_logtalk_flag(version, version(2, 15, 3)).
+current_logtalk_flag(version, version(2, 15, 4)).
@@ -1129,12 +1129,12 @@ current_logtalk_flag(version, version(2, 15, 3)).
'$lgt_current_predicate'(Obj, Functor/Arity, Sender, Scope) :-
'$lgt_current_object_'(Obj, _, Dcl, _, _, _),
findall(
- Functor/Arity-(PScope, SContainer),
+ Functor/Arity - (PScope, SContainer),
('$lgt_call'(Dcl, Pred, PScope, _, _, SContainer, _),
functor(Pred, Functor, Arity)),
Preds),
'$lgt_cp_filter'(Preds, Filtered),
- '$lgt_member'(Functor/Arity-(PScope, SContainer), Filtered),
+ '$lgt_member'(Functor/Arity - (PScope, SContainer), Filtered),
once((\+ \+ PScope = Scope; Sender = SContainer)).
@@ -1330,7 +1330,7 @@ current_logtalk_flag(version, version(2, 15, 3)).
Metavars = []),
'$lgt_metavars'(Context, Metavars),
'$lgt_tr_body'(Body, TBody, Context),
- asserta((Call:-('$lgt_nop'(Body), TBody)))
+ asserta((Call :- ('$lgt_nop'(Body), TBody)))
;
(PScope = p ->
throw(error(permission_error(modify, private_predicate, Head), Obj::asserta((Head:-Body)), Sender))
@@ -1417,7 +1417,7 @@ current_logtalk_flag(version, version(2, 15, 3)).
Metavars = []),
'$lgt_metavars'(Context, Metavars),
'$lgt_tr_body'(Body, TBody, Context),
- assertz((Call:-('$lgt_nop'(Body), TBody)))
+ assertz((Call :- ('$lgt_nop'(Body), TBody)))
;
(PScope = p ->
throw(error(permission_error(modify, private_predicate, Head), Obj::assertz((Head:-Body)), Sender))
@@ -1522,10 +1522,10 @@ current_logtalk_flag(version, version(2, 15, 3)).
(Type = (dynamic) ->
((\+ \+ PScope = Scope; Sender = SContainer) ->
('$lgt_once'(Def, Head, _, _, _, Call) ->
- retract((Call:-('$lgt_nop'(Body), _)))
+ retract((Call :- ('$lgt_nop'(Body), _)))
;
('$lgt_once'(DDef, Head, _, _, _, Call) ->
- retract((Call:-('$lgt_nop'(Body), _))),
+ retract((Call :- ('$lgt_nop'(Body), _))),
'$lgt_update_ddef_table'(DDef, Call)
;
fail))
@@ -5467,7 +5467,7 @@ user0__def(Pred, _, _, _, Pred, user).
atom(Prefix).
'$lgt_valid_compiler_option'(doctype(Option)) :-
- once((Option == standalone; Option == local; Option == web)).
+ once((Option == standalone; Option == (local); Option == web)).
@@ -5694,7 +5694,7 @@ user0__def(Pred, _, _, _, Pred, user).
-% '$lgt_dcg_terminals'(@list, -goal, @var, @var)
+% '$lgt_dcg_terminals'(+list, -goal, @var, @var)
%
% translate list of terminals
@@ -5702,7 +5702,8 @@ user0__def(Pred, _, _, _, Pred, user).
'$lgt_dcg_terminals'(Terminals, S, List).
-'$lgt_dcg_terminals'([], S, S).
+'$lgt_dcg_terminals'([], S, S) :-
+ !. % make predicate determinist when first argument is [Var1| Var2]
'$lgt_dcg_terminals'([Terminal| Terminals], S, [Terminal| Rest]) :-
'$lgt_dcg_terminals'(Terminals, S, Rest).
@@ -6186,7 +6187,7 @@ user0__def(Pred, _, _, _, Pred, user).
%
% table of ISO defined predicates
%
-% used in portability checking
+% used for portability checking
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/library/logtalk/yap430.config b/library/logtalk/yap430.config
index 30ed737d4..39c0a4b17 100644
--- a/library/logtalk/yap430.config
+++ b/library/logtalk/yap430.config
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
-% Release 2.15.3
+% Release 2.15.4
%
% configuration file for YAP Prolog 4.3.23 or later
%