From d494081bc553d29659ab225f3800f930981ae04c Mon Sep 17 00:00:00 2001 From: pmoura Date: Wed, 3 Mar 2004 04:07:59 +0000 Subject: [PATCH] Logtalk 2.16.0 release files. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1014 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- Logtalk/LICENSE | 271 +++++++--- Logtalk/QUICK_START | 2 +- Logtalk/README | 30 +- Logtalk/RELEASE_NOTES | 36 +- Logtalk/UPGRADING | 15 +- Logtalk/examples/NOTES | 9 +- Logtalk/examples/birds/NOTES | 2 +- Logtalk/examples/birds/SCRIPT | 2 +- Logtalk/examples/bricks/NOTES | 2 +- Logtalk/examples/bricks/SCRIPT | 2 +- Logtalk/examples/classvars/NOTES | 2 +- Logtalk/examples/classvars/SCRIPT | 2 +- Logtalk/examples/dcgs/NOTES | 2 +- Logtalk/examples/dcgs/SCRIPT | 2 +- Logtalk/examples/dynpred/NOTES | 2 +- Logtalk/examples/dynpred/SCRIPT | 2 +- Logtalk/examples/errors/NOTES | 2 +- Logtalk/examples/inheritance/NOTES | 2 +- Logtalk/examples/inheritance/SCRIPT | 2 +- Logtalk/examples/instmethods/NOTES | 2 +- Logtalk/examples/instmethods/SCRIPT | 2 +- Logtalk/examples/lo/NOTES | 2 +- Logtalk/examples/lo/planner/NOTES | 2 +- Logtalk/examples/lo/planner/SCRIPT | 2 +- Logtalk/examples/lo/travellers/NOTES | 2 +- Logtalk/examples/lo/travellers/SCRIPT | 2 +- Logtalk/examples/lpa/NOTES | 2 +- Logtalk/examples/lpa/SCRIPT | 2 +- Logtalk/examples/metapredicates/NOTES | 2 +- Logtalk/examples/metapredicates/SCRIPT | 2 +- Logtalk/examples/mi/NOTES | 2 +- Logtalk/examples/mi/SCRIPT | 2 +- Logtalk/examples/miscellaneous/NOTES | 2 +- Logtalk/examples/miscellaneous/SCRIPT | 2 +- Logtalk/examples/msglog/NOTES | 2 +- Logtalk/examples/msglog/SCRIPT | 2 +- Logtalk/examples/operators/NOTES | 26 + Logtalk/examples/operators/SCRIPT | 46 ++ Logtalk/examples/operators/double.lgt | 21 + Logtalk/examples/operators/next.txt | 5 + Logtalk/examples/operators/operators.loader | 6 + Logtalk/examples/operators/reverse.lgt | 33 ++ Logtalk/examples/operators/triple.lgt | 34 ++ Logtalk/examples/operators/triple.txt | 3 + Logtalk/examples/parametric/NOTES | 2 +- Logtalk/examples/parametric/SCRIPT | 2 +- Logtalk/examples/points/NOTES | 10 +- Logtalk/examples/points/SCRIPT | 2 +- Logtalk/examples/polygons/NOTES | 2 +- Logtalk/examples/polygons/SCRIPT | 2 +- Logtalk/examples/profiling/NOTES | 2 +- Logtalk/examples/profiling/SCRIPT | 2 +- Logtalk/examples/reflection/NOTES | 2 +- Logtalk/examples/reflection/SCRIPT | 2 +- Logtalk/examples/relations/NOTES | 2 +- Logtalk/examples/relations/SCRIPT | 2 +- Logtalk/examples/roots/NOTES | 2 +- Logtalk/examples/roots/SCRIPT | 2 +- Logtalk/examples/searching/NOTES | 2 +- Logtalk/examples/searching/SCRIPT | 2 +- Logtalk/examples/shapes/NOTES | 8 +- Logtalk/examples/shapes/ch/NOTES | 2 +- Logtalk/examples/shapes/ch/SCRIPT | 2 +- Logtalk/examples/shapes/ph/NOTES | 2 +- Logtalk/examples/shapes/ph/SCRIPT | 2 +- Logtalk/examples/sicstus/NOTES | 2 +- Logtalk/examples/sicstus/SCRIPT | 2 +- Logtalk/examples/symdiff/NOTES | 2 +- Logtalk/examples/symdiff/SCRIPT | 2 +- Logtalk/examples/viewpoints/NOTES | 2 +- Logtalk/examples/viewpoints/SCRIPT | 2 +- Logtalk/library/NOTES | 2 +- Logtalk/library/SCRIPT | 2 +- Logtalk/library/all.notes | 2 +- Logtalk/library/dates.notes | 2 +- Logtalk/library/debugging.notes | 2 +- Logtalk/library/dependents.notes | 2 +- Logtalk/library/events.notes | 2 +- Logtalk/library/hierarchies.notes | 2 +- Logtalk/library/metapredicates.notes | 2 +- Logtalk/library/random.notes | 2 +- Logtalk/library/types.notes | 2 +- Logtalk/manuals/NOTES | 2 +- Logtalk/manuals/index.html | 6 +- Logtalk/manuals/refman/directives/op3.html | 4 +- Logtalk/manuals/userman/index.html | 3 +- Logtalk/manuals/userman/installing.html | 6 +- Logtalk/manuals/userman/predicates.html | 14 +- Logtalk/wenv/NOTES | 7 +- Logtalk/wenv/emacs/NOTES | 2 +- Logtalk/wenv/emacs/logtalk.el | 7 +- Logtalk/wenv/jedit/NOTES | 4 +- Logtalk/wenv/kate/NOTES | 2 +- Logtalk/wenv/kate/logtalk.xml | 2 +- Logtalk/wenv/nedit/NOTES | 2 +- Logtalk/wenv/nedit/logtalk.pats | 2 +- Logtalk/wenv/subethaedit/NOTES | 2 +- Logtalk/wenv/subethaedit/logtalk.plist | 288 +++++------ Logtalk/wenv/tests/NOTES | 2 +- Logtalk/wenv/textpad/NOTES | 2 +- Logtalk/wenv/vim/NOTES | 5 +- Logtalk/wenv/xcode/NOTES | 2 +- Logtalk/wenv/xcode/logtalk.pbfilespec | 8 + Logtalk/xml/NOTES | 2 +- Logtalk/xml/ie50.xsl | 2 +- Logtalk/xml/lgthtml.xsl | 2 +- Logtalk/xml/lgtpdfa4.xsl | 2 +- Logtalk/xml/lgtpdfus.xsl | 2 +- Logtalk/xml/lgtxhtml.xsl | 5 +- Logtalk/xml/lgtxml.xsl | 2 +- Logtalk/xml/logtalk.dtd | 2 +- Logtalk/xml/logtalk.xsd | 2 +- Logtalk/xml/texml.xsl | 2 +- library/logtalk/logtalk.pl | 536 +++++++++++++++++--- library/logtalk/yap430.config | 26 +- 115 files changed, 1220 insertions(+), 424 deletions(-) create mode 100644 Logtalk/examples/operators/NOTES create mode 100644 Logtalk/examples/operators/SCRIPT create mode 100644 Logtalk/examples/operators/double.lgt create mode 100644 Logtalk/examples/operators/next.txt create mode 100644 Logtalk/examples/operators/operators.loader create mode 100644 Logtalk/examples/operators/reverse.lgt create mode 100644 Logtalk/examples/operators/triple.lgt create mode 100644 Logtalk/examples/operators/triple.txt diff --git a/Logtalk/LICENSE b/Logtalk/LICENSE index 6cf43467f..10ce50be2 100644 --- a/Logtalk/LICENSE +++ b/Logtalk/LICENSE @@ -1,111 +1,214 @@ -The Artistic License -Preamble + The Artistic License + Version 2.0beta5, October 2001 -The intent of this document is to state the conditions under which a -Package may be copied, such that the Copyright Holder maintains some -semblance of artistic control over the development of the package, while -giving the users of the package the right to use and distribute the -Package in a more-or-less customary fashion, plus the right to make -reasonable modifications. + Copyright (C) 2000, 2001 Larry Wall, Bradley M. Kuhn. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. -Definitions: + Preamble -- "Package" refers to the collection of files distributed by the -Copyright Holder, and derivatives of that collection of files created -through textual modification. +This copyright license states the terms under which a given free software +Package may be copied, modified and/or redistributed, while the +Originator(s) maintain some artistic control over the future development of +that Package (at least as much artistic control as can be given under +copyright law while still making the Package open source and free software). -- "Standard Version" refers to such a Package if it has not been -modified, or has been modified in accordance with the wishes of the -Copyright Holder. +This license is bound by copyright law, and thus it legally applies only to +works which the copyright holder has permitted copying, distribution or +modification under the terms of the Artistic License, Version 2.0. -- "Copyright Holder" is whoever is named in the copyright or copyrights -for the package. +You are reminded that You are always permitted to make arrangements wholly +outside of a given copyright license directly with the copyright holder(s) +of a given Package. If the terms of this license impede your ability to +make full use of the Package, You are encouraged to contact the copyright +holder(s) and seek a different licensing arrangement. -- "You" is you, if you're thinking about copying or distributing this -Package. -- "Reasonable copying fee" is whatever you can justify on the basis of -media cost, duplication charges, time of people involved, and so on. -(You will not be required to justify it to the Copyright Holder, but -only to the computing community at large as a market that must bear the -fee.) + Definitions -- "Freely Available" means that no fee is charged for the item itself, -though there may be fees involved in handling the item. It also means -that recipients of the item may redistribute it under the same -conditions they received it. +"Package" refers to the collection of files distributed by the + Originator(s), and derivatives of that collection of files created + through textual modification. -1. You may make and give away verbatim copies of the source form of the -Standard Version of this Package without restriction, provided that you -duplicate all of the original copyright notices and associated -disclaimers. +"Standard Version" refers to the Package if it has not been modified, or has + been modified only in ways suggested by the + Originator(s). -2. You may apply bug fixes, portability fixes and other modifications -derived from the Public Domain or from the Copyright Holder. A Package -modified in such a way shall still be considered the Standard Version. +"Modified Version" refers to the Package, if it has been changed by You via + textual modification of the source code, and such changes + were not suggested by the Originator(s). -3. You may otherwise modify your copy of this Package in any way, -provided that you insert a prominent notice in each changed file stating -how and when you changed that file, and provided that you do at least -ONE of the following: +"Originator" refers to the author(s) and/or copyright holder(s) of the + Standard Version of the Package. -a) place your modifications in the Public Domain or otherwise make them -Freely Available, such as by posting said modifications to Usenet or an -equivalent medium, or placing the modifications on a major archive site -such as ftp.uu.net, or by allowing the Copyright Holder to include your -modifications in the Standard Version of the Package. +"You" and "Your" refers to any person who would like to copy, distribute, or + modify the Package. -b) use the modified Package only within your corporation or -organization. +"Distribution Fee" is any fee that You charge for providing a copy of this + Package to another party. It does not refer to licensing + fees. -c) rename any non-standard executables so the names do not conflict with -standard executables, which must also be provided, and provide a -separate manual page for each non-standard executable that clearly -documents how it differs from the Standard Version. +"Freely Available" means that: -d) make other distribution arrangements with the Copyright Holder. + (a) no fee is charged for the right to use the item (though a + Distribution Fee may be charged). -4. You may distribute the programs of this Package in object code or -executable form, provided that you do at least ONE of the following: + (b) recipients of the item may redistribute it under the same + conditions they received it. -a) distribute a Standard Version of the executables and library files, -together with instructions (in the manual page or equivalent) on where -to get the Standard Version. + (c) If the item is a binary, object code, bytecode, the complete + corresponding machine-readable source code is included with the + item. -b) accompany the distribution with the machine-readable source of the -Package with your modifications. -c) accompany any non-standard executables with their corresponding -Standard Version executables, giving the non-standard executables -non-standard names, and clearly documenting the differences in manual -pages (or equivalent), together with instructions on where to get the -Standard Version. + Permission for Use and Modification Without Redistribution -d) make other distribution arrangements with the Copyright Holder. + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not redistribute the Modified Version to others outside of your + company or organization. -5. You may charge a reasonable copying fee for any distribution of this -Package. You may charge any fee you choose for support of this Package. -You may not charge a fee for this Package itself. However, you may -distribute this Package in aggregate with other (possibly commercial) -programs as part of a larger (possibly commercial) software distribution -provided that you do not advertise this Package as a product of your -own. -6. The scripts and library files supplied as input to or produced as -output from the programs of this Package do not automatically fall under -the copyright of this Package, but belong to whomever generated them, -and may be sold commercially, and may be aggregated with this Package. + Permissions for Redistribution of the Standard Version -7. C or perl subroutines supplied by you and linked into this Package -shall not be considered part of this Package. + (2) You may make available verbatim copies of the source code of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distribution Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + Your discretion, such verbatim copies may or may not include compiled + bytecode, object code or binary versions of the corresponding source + code in the same medium. -8. The name of the Copyright Holder may not be used to endorse or -promote products derived from this software without specific prior -written permission. + (3) You may apply any bug fixes, portability changes, and other + modifications made available from any of the Originator(s). The + resulting modified Package will still be considered the Standard + Version, and may be copied, modified and redistributed under the terms + of the original license of the Standard Version as if it were the + Standard Version. -9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -The End + Permissions for Redistribution of Modified Versions of the Package as Source + + (4) You may modify your copy of the source code of this Package in any way + and distribute that Modified Version (either gratis or for a + Distribution Fee, and with or without a corresponding binary, bytecode + or object code version of the Modified Version) provided that You + clearly indicate what changes You made to the Package, and provided + that You do at least ONE of the following: + + (a) make the Modified Version available to the Originator(s) of the + Standard Version, under the exact license of the Standard + Version, so that the Originator(s) may include your modifications + into the Standard Version (at their discretion). + + (b) modify any installation scripts and procedures so that + installation of the Modified Version will never conflict with an + installation of the Standard Version, include for each program + installed by the Modified Version clear documentation describing + how it differs from the Standard Version, and rename your + Modified Version so that the name is substantially different from + the Standard Version. + + (c) permit and encourage anyone who receives a copy of the Modified + Version to make your modifications Freely Available in some + specific way. + + If Your Modified Version is in turn derived from a Modified Version + made by a third party, then You are still required to ensure that Your + Modified Version complies with the requirements of this license. + + + Permissions for Redistribution of Non-Source Versions of Package + + (5) You may distribute binary, object code, bytecode or other non-source + versions of the Standard Version of the Package, provided that you + include complete instructions on where to get the source code of the + Standard Version. Such instructions must be valid at the time of Your + distribution. If these instructions, at any time while You are + carrying our such distribution, become invalid, you must provide new + instructions on demand or cease further distribution. If You cease + distribution within thirty days after You become aware that the + instructions are invalid, then You do not forfeit any of Your rights + under this license. + + (6) You may distribute binary, object code, bytecode or other non-source + versions of a Modified Version provided that You do at least ONE of + the following: + + (a) include a copy of the corresponding source code for the Modified + Version under the terms indicated in (4). + + (b) ensure that the installation of Your non-source Modified Version + does not conflict in any way with an installation of the Standard + Version, include for each program installed by the Modified + Version clear documentation describing how it differs from the + Standard Version, and rename your Modified Version so that the + name is substantially different from the Standard Version. + + (c) ensure that the Modified Version includes notification of the + changes made from the Standard Version, and offer to provide + machine-readable source code (under a license that permits making + that source code Freely Available) of the Modified Version via + mail order. + + + Permissions for Inclusion of the Package in Aggregate Works + + (7) You may aggregate this Package (either the Standard Version or + Modified Version) with other packages and distribute the resulting + aggregation provided that You do not charge a licensing fee for the + Package. Distribution Fees are permitted, and licensing fees for + other packages in the aggregation are permitted. Your permission to + distribute Standard or Modified Versions of the Package is still + subject to the other terms set forth in other sections of this + license. + + (8) In addition to the permissions given elsewhere by this license, You + are also permitted to link Modified and Standard Versions of this + Package with other works and distribute the result without + restriction, provided You have produced binary program(s) that do not + overtly expose the interfaces of the Package. This includes + permission to embed the Package in a larger work of your own without + exposing a direct interface to the Package. This also includes + permission to build stand-alone binary or bytecode versions of your + scripts that require the Package, but do not otherwise give the casual + user direct access to the Package itself. + + + Items That are Never Considered Part of a Modified Version Package + + (9) Works (including, but not limited to, subroutines and scripts) that + you have linked or aggregated with the Package that merely extend or + make use of the Package, but are not intended to cause the Package to + operate differently from the Standard Version, do not, by themselves, + cause the Package to be a Modified Version. In addition, such works + are not considered parts of the Package itself, and are not bound by + the terms of the Package's license. + + + Acceptance of License and Disclaimer of Warranty + + (10) You are not required to accept this License, since you have not signed + it. However, nothing else grants you permission to copy, modify or + distribute the Standard or Modified Versions of the Package. These + actions are prohibited by copyright law if you do not accept this + License. Therefore, by copying, modifying or distributing Standard + and Modified Versions of the Package, you indicate your acceptance of + the license of the Package. + + + (11) Disclaimer of Warranty: + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT UNLESS REQUIRED BY + LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR CONTRIBUTOR + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Logtalk/QUICK_START b/Logtalk/QUICK_START index 0e4aa6780..012ea914d 100644 --- a/Logtalk/QUICK_START +++ b/Logtalk/QUICK_START @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/README b/Logtalk/README index 35d8680e7..a6671e59e 100644 --- a/Logtalk/README +++ b/Logtalk/README @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -22,13 +22,9 @@ CONTENTS 1. LICENSE The overall copyright and permission notice for Logtalk can be found in -the LICENSE file in this directory. Logtalk follows the Perl Artistic -license. The copyright notice and license applies to all files in this -release (sources, documentation and examples) unless otherwise explicitly -stated. - -This software is OSI Certified Open Source Software. OSI Certified is a -certification mark of the Open Source Initiative (http://www.opensource.org/). +the LICENSE file in this directory. Logtalk follows the Artistic License 2.0. +The copyright notice and license applies to all files in this release +(sources, documentation and examples) unless otherwise explicitly stated. 2. HOME OF LOGTALK PACKAGE @@ -84,9 +80,21 @@ Installing Logtalk is just a matter of uncompressing/unpacking the distribution archive file for your operating system. You can install Logtalk in any directory that you find convenient. -See the user manual for a description of the source files organization -and for installing/using instructions (to read the user manual open the -file manuals/index.html with a web browser). +See the user manual for a description of the source files organization and +for installing/using instructions (to read the user manual open the file +manuals/index.html with a web browser). + +In Unix and Unix-like systems you may want to define an environment variable +named $LOGTALKHOME pointing to the Logtalk installation for use with your +Prolog compilers. If you use a csh shell, add the following line to your +.cshrc file: + + setenv LOGTALKHOME "/your/installation/directory/lgt2160" + +If you use a bash shell, add the following lines to your .profile file: + + LOGTALKHOME="/your/installation/directory/lgt2160" + export LOGTALKHOME 6. DOCUMENTATION diff --git a/Logtalk/RELEASE_NOTES b/Logtalk/RELEASE_NOTES index 297f6a6fe..f0a8751ef 100644 --- a/Logtalk/RELEASE_NOTES +++ b/Logtalk/RELEASE_NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -10,6 +10,40 @@ RELEASE NOTES ============= +2.16.0 - March 3, 2004 + + Logtalk is now distributed under the Artistic License 2.0. + + Operators declared inside an entity are now local to the entity, not + affecting the global operator table (complying with the Logtalk language + specification). Input and output of terms from inside objects and + categories now work as expected in the presence of local operator + declarations. Added a new example named "operators". + + Updated built-in method predicate_property/2 for returning metapredicate/1 + properties for both Logtalk and Prolog metapredicates. + + Added support for calls to non-ISO Prolog standard built-in metapredicates + inside objects and categories. Added support for the declaration of non-ISO + Prolog standard metapredicates in the config files. + + Small change to the way the Logtalk compiler reports the compilation of + entities. Small optimizations to the compilation of Logtalk source files. + + Corrected a bug where calls to Logtalk built-in predicates would be + reported as non-portable when the value of compiler option portability is + set to warning. + + New config file for Qu-Prolog 6.4 (see the configs/NOTES file for details). + + Corrected a problem with the syntax coloring of quoted atoms and strings + in the SubEthaEdit text editor. Added more accurate syntax highlight for + built-in methods and built-in predicates. + + Updated the syntax coloring configuration files for all supported text + editors to recognize the file extension used by the config files. + + 2.15.6 - February 9, 2004 Added "xmlspec" compiler option in order to specify the extension (dtd diff --git a/Logtalk/UPGRADING b/Logtalk/UPGRADING index 7fe522601..76dcb502b 100644 --- a/Logtalk/UPGRADING +++ b/Logtalk/UPGRADING @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -36,18 +36,18 @@ files: the first argument is now always a list of entities even if we want to compile or load a single entity. Logtalk version 2.9.0 changes compiled code functors postfixes from "_sdcl" -and "_sdef" to "_idcl" and "_idef", impliying recompilation of all objects, +and "_sdef" to "_idcl" and "_idef", implying recompilation of all objects, protocols, and categories. Logtalk version 2.10.0 changes some of the semantics of object dynamic predicates. See the release notes for a description of the changes. -Logtalk version 2.14.4 removes the definition of the depracated built-in +Logtalk version 2.14.4 removes the definition of the deprecated built-in predicate logtalk_version/3 (use current_logtalk_flag/3 instead). Logtalk version 2.14.5 changes compiled code in order to correct a bug where sending messages such as true/0 to an unknown object will succeeded -instead of throwing the expected exception, impliying recompilation of all +instead of throwing the expected exception, implying recompilation of all objects, protocols, and categories. Logtalk version 2.14.7 changes compiled code in order to optimize the @@ -60,8 +60,13 @@ to apply this change to take advantage of automatic generation of documenting files. Logtalk version 2.15.3 changes the format of the runtime entity tables, -impliying recompilation of all objects, protocols, and categories. +implying recompilation of all objects, protocols, and categories. Logtalk version 2.15.6 renamed the compiler option "named_anonymous_vars" to "underscore_vars" and changed the possible option values form "on/off" to "dont_care/singletons". + +Logtalk 2.16.0 improves support for the declaration and use of operators +local to objects and categories. Recompilation of any objects and categories +contain operator declarations is needed in order to take advantage of the +improvements made. diff --git a/Logtalk/examples/NOTES b/Logtalk/examples/NOTES index 04f601ace..5c73852f8 100644 --- a/Logtalk/examples/NOTES +++ b/Logtalk/examples/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -8,7 +8,7 @@ Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. This folder contains several examples of Logtalk programs. Most of these examples need objects, protocols, and categories that are defined in the Logtalk standard library or in other examples, so -you should load them first (see the NOTES file inside the library +you should load them first (see the NOTES files inside the library folder and inside each example folder). Some examples may redefine objects already loaded from other examples. @@ -26,7 +26,7 @@ All examples are formatted using four spaces tabs. By default, compiling an example generates a .xml documenting file for each compiled entity (object, category, or protocol). See the xml sub-directory for instructions on how to browse the .xml files for on-line reading or how -to convert the files to print-ready format. +to convert the files to a print-ready format such as PDF. Here is a short description of each included example: @@ -76,6 +76,9 @@ msglog example of using events and monitors for recording, replaying, and printing user messages +operators + example of using operators local to objects and categories + parametric simple example of parametric objects diff --git a/Logtalk/examples/birds/NOTES b/Logtalk/examples/birds/NOTES index fd68ec9bf..4c0348c57 100644 --- a/Logtalk/examples/birds/NOTES +++ b/Logtalk/examples/birds/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/birds/SCRIPT b/Logtalk/examples/birds/SCRIPT index e4613cc94..bb4d44ac0 100644 --- a/Logtalk/examples/birds/SCRIPT +++ b/Logtalk/examples/birds/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/bricks/NOTES b/Logtalk/examples/bricks/NOTES index e82309de2..f9c8658a2 100644 --- a/Logtalk/examples/bricks/NOTES +++ b/Logtalk/examples/bricks/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/bricks/SCRIPT b/Logtalk/examples/bricks/SCRIPT index 94e427dac..1a5a12251 100644 --- a/Logtalk/examples/bricks/SCRIPT +++ b/Logtalk/examples/bricks/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/classvars/NOTES b/Logtalk/examples/classvars/NOTES index 97360af24..581034e8c 100644 --- a/Logtalk/examples/classvars/NOTES +++ b/Logtalk/examples/classvars/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/classvars/SCRIPT b/Logtalk/examples/classvars/SCRIPT index cd5052c52..4e55f6db9 100644 --- a/Logtalk/examples/classvars/SCRIPT +++ b/Logtalk/examples/classvars/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/dcgs/NOTES b/Logtalk/examples/dcgs/NOTES index 5e1f3f8ed..44fdb2095 100644 --- a/Logtalk/examples/dcgs/NOTES +++ b/Logtalk/examples/dcgs/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/dcgs/SCRIPT b/Logtalk/examples/dcgs/SCRIPT index 6032f8ac1..cdea4a853 100644 --- a/Logtalk/examples/dcgs/SCRIPT +++ b/Logtalk/examples/dcgs/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/dynpred/NOTES b/Logtalk/examples/dynpred/NOTES index 85bbe27a7..65ab09fe1 100644 --- a/Logtalk/examples/dynpred/NOTES +++ b/Logtalk/examples/dynpred/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/dynpred/SCRIPT b/Logtalk/examples/dynpred/SCRIPT index 689fa8d5a..e9b65891c 100644 --- a/Logtalk/examples/dynpred/SCRIPT +++ b/Logtalk/examples/dynpred/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/errors/NOTES b/Logtalk/examples/errors/NOTES index d0a807099..efc20b2d0 100644 --- a/Logtalk/examples/errors/NOTES +++ b/Logtalk/examples/errors/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/inheritance/NOTES b/Logtalk/examples/inheritance/NOTES index eaa24d327..0861d066a 100644 --- a/Logtalk/examples/inheritance/NOTES +++ b/Logtalk/examples/inheritance/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/inheritance/SCRIPT b/Logtalk/examples/inheritance/SCRIPT index 6721dfe17..f37ec36f6 100644 --- a/Logtalk/examples/inheritance/SCRIPT +++ b/Logtalk/examples/inheritance/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/instmethods/NOTES b/Logtalk/examples/instmethods/NOTES index 45b28ab80..4a1502bde 100644 --- a/Logtalk/examples/instmethods/NOTES +++ b/Logtalk/examples/instmethods/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/instmethods/SCRIPT b/Logtalk/examples/instmethods/SCRIPT index 37143357c..00eb38b94 100644 --- a/Logtalk/examples/instmethods/SCRIPT +++ b/Logtalk/examples/instmethods/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lo/NOTES b/Logtalk/examples/lo/NOTES index 27b68e5f1..2a6203776 100644 --- a/Logtalk/examples/lo/NOTES +++ b/Logtalk/examples/lo/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lo/planner/NOTES b/Logtalk/examples/lo/planner/NOTES index 4fa990018..8934358f9 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lo/planner/SCRIPT b/Logtalk/examples/lo/planner/SCRIPT index 8e065a500..cff9eaaab 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lo/travellers/NOTES b/Logtalk/examples/lo/travellers/NOTES index cba96b784..8c542dc04 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lo/travellers/SCRIPT b/Logtalk/examples/lo/travellers/SCRIPT index c3579cb6e..a4df85777 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lpa/NOTES b/Logtalk/examples/lpa/NOTES index a33f6e5d5..6139af784 100644 --- a/Logtalk/examples/lpa/NOTES +++ b/Logtalk/examples/lpa/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/lpa/SCRIPT b/Logtalk/examples/lpa/SCRIPT index d346b88b9..be9404a18 100644 --- a/Logtalk/examples/lpa/SCRIPT +++ b/Logtalk/examples/lpa/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/metapredicates/NOTES b/Logtalk/examples/metapredicates/NOTES index 52d0e7fbb..fc91b1124 100644 --- a/Logtalk/examples/metapredicates/NOTES +++ b/Logtalk/examples/metapredicates/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/metapredicates/SCRIPT b/Logtalk/examples/metapredicates/SCRIPT index 034827623..0e3b6f5c1 100644 --- a/Logtalk/examples/metapredicates/SCRIPT +++ b/Logtalk/examples/metapredicates/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/mi/NOTES b/Logtalk/examples/mi/NOTES index 5ae3e5549..0c1ccdfe4 100644 --- a/Logtalk/examples/mi/NOTES +++ b/Logtalk/examples/mi/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/mi/SCRIPT b/Logtalk/examples/mi/SCRIPT index 89c5da113..d6f6ee598 100644 --- a/Logtalk/examples/mi/SCRIPT +++ b/Logtalk/examples/mi/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/miscellaneous/NOTES b/Logtalk/examples/miscellaneous/NOTES index 9cac6b072..a5717608c 100644 --- a/Logtalk/examples/miscellaneous/NOTES +++ b/Logtalk/examples/miscellaneous/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/miscellaneous/SCRIPT b/Logtalk/examples/miscellaneous/SCRIPT index 95ab9855c..94df6ae99 100644 --- a/Logtalk/examples/miscellaneous/SCRIPT +++ b/Logtalk/examples/miscellaneous/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/msglog/NOTES b/Logtalk/examples/msglog/NOTES index 5e10b7569..5ce361946 100644 --- a/Logtalk/examples/msglog/NOTES +++ b/Logtalk/examples/msglog/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/msglog/SCRIPT b/Logtalk/examples/msglog/SCRIPT index a7e27e6fc..612dd85cf 100644 --- a/Logtalk/examples/msglog/SCRIPT +++ b/Logtalk/examples/msglog/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/operators/NOTES b/Logtalk/examples/operators/NOTES new file mode 100644 index 000000000..944965a6b --- /dev/null +++ b/Logtalk/examples/operators/NOTES @@ -0,0 +1,26 @@ +================================================================= +Logtalk - Object oriented extension to Prolog +Release 2.16.0 + +Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. +================================================================= + +To load most objects in this example consult the operators.loader +utility file (note that the *.loader files are Prolog files). + +This folder contains examples of the used of operators inside +objects and categories. + +double.lgt + + Simple object containing clauses using an infix operator. + +triple.lgt + + Simple object reading from a file, and asserting into self, + clauses that use an infix operator. + +reverse.lgt + + Simple object reading from a file, and writing to another + file, clauses that use infix operators. diff --git a/Logtalk/examples/operators/SCRIPT b/Logtalk/examples/operators/SCRIPT new file mode 100644 index 000000000..58a780014 --- /dev/null +++ b/Logtalk/examples/operators/SCRIPT @@ -0,0 +1,46 @@ +================================================================= +Logtalk - Object oriented extension to Prolog +Release 2.16.0 + +Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. +================================================================= + + + +% operators declared inside an object are not visible outside: + +| ?- double::(I double J). + +Syntax error: Operator expected + + +% you must use instead: + +| ?- double::double(I, J). + +I = 1 +J = 2 ; + +I = 2 +J = 4 ; + +I = 3 +J = 6 + +Yes + + +% operators also affect inputing of terms, enabling this example to work: + +| ?- triple::triple(I, J). + +I = 1 +J = 3 ; + +I = 2 +J = 6 ; + +I = 3 +J = 9 + +Yes diff --git a/Logtalk/examples/operators/double.lgt b/Logtalk/examples/operators/double.lgt new file mode 100644 index 000000000..4c7b2e32a --- /dev/null +++ b/Logtalk/examples/operators/double.lgt @@ -0,0 +1,21 @@ + +:- object(double). + + + :- info([ + version is 1.0, + author is 'Paulo Moura', + date is 2004/2/16, + comment is 'Contains a simple table of facts for testing operator handling code.']). + + :- public(double/2). + + :- op(500, xfx, double). + + + 1 double 2. + 2 double 4. + 3 double 6. + + +:- end_object. diff --git a/Logtalk/examples/operators/next.txt b/Logtalk/examples/operators/next.txt new file mode 100644 index 000000000..b4bae5459 --- /dev/null +++ b/Logtalk/examples/operators/next.txt @@ -0,0 +1,5 @@ +0 next 1. +1 next 2. +2 next 3. +3 next 4. +4 next 5. diff --git a/Logtalk/examples/operators/operators.loader b/Logtalk/examples/operators/operators.loader new file mode 100644 index 000000000..0476b8748 --- /dev/null +++ b/Logtalk/examples/operators/operators.loader @@ -0,0 +1,6 @@ + +:- initialization( + logtalk_load([ + double, + triple, + reverse])). diff --git a/Logtalk/examples/operators/reverse.lgt b/Logtalk/examples/operators/reverse.lgt new file mode 100644 index 000000000..a02968083 --- /dev/null +++ b/Logtalk/examples/operators/reverse.lgt @@ -0,0 +1,33 @@ + +:- object(reverse). + + + :- info([ + version is 1.0, + author is 'Paulo Moura', + date is 2004/2/16, + comment is 'Reads and writes a simple table of facts from and to files for testing operator handling code.']). + + :- op(500, xfx, next). + :- op(500, xfx, previous). + + :- initialization(reverse_file). + + + reverse_file :- + open('next.txt', read, RStream), + open('previous.txt', write, WStream), + read(RStream, Term), + process(Term, RStream, WStream). + + process(end_of_file, RStream, WStream) :- + close(RStream), + close(WStream). + + process(X next Y, RStream, WStream) :- + write(WStream, Y previous X), write(WStream, '.'), nl(WStream), + read(RStream, Next), + process(Next, RStream, WStream). + + +:- end_object. diff --git a/Logtalk/examples/operators/triple.lgt b/Logtalk/examples/operators/triple.lgt new file mode 100644 index 000000000..438864e56 --- /dev/null +++ b/Logtalk/examples/operators/triple.lgt @@ -0,0 +1,34 @@ + +:- object(triple). + + + :- info([ + version is 1.0, + author is 'Paulo Moura', + date is 2004/2/16, + comment is 'Read and asserts a simple table of facts from a file for testing operator handling code.']). + + :- public(triple/2). + :- dynamic(triple/2). + + :- op(500, xfx, triple). + + :- initialization(read_from_file). + + + read_from_file :- + open('triple.txt', read, Stream), + read(Stream, Term), + process(Stream, Term). + + process(Stream, end_of_file) :- + close(Stream), + !. + + process(Stream, Term) :- + assertz(Term), + read(Stream, Next), + process(Stream, Next). + + +:- end_object. diff --git a/Logtalk/examples/operators/triple.txt b/Logtalk/examples/operators/triple.txt new file mode 100644 index 000000000..52fcb72b0 --- /dev/null +++ b/Logtalk/examples/operators/triple.txt @@ -0,0 +1,3 @@ +1 triple 3. +2 triple 6. +3 triple 9. diff --git a/Logtalk/examples/parametric/NOTES b/Logtalk/examples/parametric/NOTES index daeacd4ff..c287a9169 100644 --- a/Logtalk/examples/parametric/NOTES +++ b/Logtalk/examples/parametric/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/parametric/SCRIPT b/Logtalk/examples/parametric/SCRIPT index fc8869127..8311de20c 100644 --- a/Logtalk/examples/parametric/SCRIPT +++ b/Logtalk/examples/parametric/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/points/NOTES b/Logtalk/examples/points/NOTES index d9c6f9749..d3b436fd9 100644 --- a/Logtalk/examples/points/NOTES +++ b/Logtalk/examples/points/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -23,8 +23,8 @@ You can find the original description of this example (and a solution using SICStus Objects) at the URL: http://www.sics.se/ps/sicstus/sicstus_32.html#SEC254 -Suppose you wish to represent one point in a two-dimensional space. The -protocol you will have to define consists on the operation move/2, wish +Suppose you wish to represent points in a two-dimensional space. The +protocol you will have to define consists on the operation move/2, which allows you to move one point to a new position, and on the operation print/0, which prints the point position. From the base class point, which contains the indicated operations, we wish to build three @@ -35,8 +35,8 @@ Finally, a class bounded_history_point combining the functionality of classes bounded_point and history_point. At first sight, this looks like the kind of ideal problem to illustrate -the advantages of the multiple inheritance mechanisms. This type of -solution holds, however, several problems. If the methods move/2 and +the advantages of the multiple inheritance mechanisms. However, this type +of solution holds several problems. If the methods move/2 and print/0 are inherited by bounded_history_point of classes history_point and bounded_point simultaneously, then one point will be moved and shown twice. If the inheritance is carried out, for each diff --git a/Logtalk/examples/points/SCRIPT b/Logtalk/examples/points/SCRIPT index 9d4a017db..b6b15530f 100644 --- a/Logtalk/examples/points/SCRIPT +++ b/Logtalk/examples/points/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/polygons/NOTES b/Logtalk/examples/polygons/NOTES index 6c68632b0..a634f7b63 100644 --- a/Logtalk/examples/polygons/NOTES +++ b/Logtalk/examples/polygons/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/polygons/SCRIPT b/Logtalk/examples/polygons/SCRIPT index b3a2e6640..d4d5bebba 100644 --- a/Logtalk/examples/polygons/SCRIPT +++ b/Logtalk/examples/polygons/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/profiling/NOTES b/Logtalk/examples/profiling/NOTES index c158194f6..d96a11e61 100644 --- a/Logtalk/examples/profiling/NOTES +++ b/Logtalk/examples/profiling/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/profiling/SCRIPT b/Logtalk/examples/profiling/SCRIPT index 9e6fd3e14..0940c2ac9 100644 --- a/Logtalk/examples/profiling/SCRIPT +++ b/Logtalk/examples/profiling/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/reflection/NOTES b/Logtalk/examples/reflection/NOTES index 15399f61c..d5df40bdf 100644 --- a/Logtalk/examples/reflection/NOTES +++ b/Logtalk/examples/reflection/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/reflection/SCRIPT b/Logtalk/examples/reflection/SCRIPT index 5b837aaaa..e6f9edf53 100644 --- a/Logtalk/examples/reflection/SCRIPT +++ b/Logtalk/examples/reflection/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/relations/NOTES b/Logtalk/examples/relations/NOTES index 3a08d9ab0..42f0550a9 100644 --- a/Logtalk/examples/relations/NOTES +++ b/Logtalk/examples/relations/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/relations/SCRIPT b/Logtalk/examples/relations/SCRIPT index 92f101074..1523a26a0 100644 --- a/Logtalk/examples/relations/SCRIPT +++ b/Logtalk/examples/relations/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/roots/NOTES b/Logtalk/examples/roots/NOTES index 992c61fa5..cf367b16f 100644 --- a/Logtalk/examples/roots/NOTES +++ b/Logtalk/examples/roots/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/roots/SCRIPT b/Logtalk/examples/roots/SCRIPT index fb89e9f76..64bff6aeb 100644 --- a/Logtalk/examples/roots/SCRIPT +++ b/Logtalk/examples/roots/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/searching/NOTES b/Logtalk/examples/searching/NOTES index f0f7bc113..b6e539ac7 100644 --- a/Logtalk/examples/searching/NOTES +++ b/Logtalk/examples/searching/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/searching/SCRIPT b/Logtalk/examples/searching/SCRIPT index a81ff37ae..eb5472f67 100644 --- a/Logtalk/examples/searching/SCRIPT +++ b/Logtalk/examples/searching/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/shapes/NOTES b/Logtalk/examples/shapes/NOTES index 4f17ff3d0..bb9d730b8 100644 --- a/Logtalk/examples/shapes/NOTES +++ b/Logtalk/examples/shapes/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= @@ -8,3 +8,9 @@ Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. This directory contains two versions, one prototype-based and the other one class-based, of a very simple geometric shapes hierarchy. + +ph + prototype-based version + +ch + class-based version \ No newline at end of file diff --git a/Logtalk/examples/shapes/ch/NOTES b/Logtalk/examples/shapes/ch/NOTES index 544fd36c3..ddc77ea4b 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/shapes/ch/SCRIPT b/Logtalk/examples/shapes/ch/SCRIPT index 0a67e6110..7e1d5d291 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/shapes/ph/NOTES b/Logtalk/examples/shapes/ph/NOTES index 83d85fcc0..7963a25a6 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/shapes/ph/SCRIPT b/Logtalk/examples/shapes/ph/SCRIPT index 5e2318db7..f026301f2 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.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/sicstus/NOTES b/Logtalk/examples/sicstus/NOTES index bbb892e9d..6df673dda 100644 --- a/Logtalk/examples/sicstus/NOTES +++ b/Logtalk/examples/sicstus/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/sicstus/SCRIPT b/Logtalk/examples/sicstus/SCRIPT index 7ac536474..42e63d669 100644 --- a/Logtalk/examples/sicstus/SCRIPT +++ b/Logtalk/examples/sicstus/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/symdiff/NOTES b/Logtalk/examples/symdiff/NOTES index 958375f98..9d0a4847a 100644 --- a/Logtalk/examples/symdiff/NOTES +++ b/Logtalk/examples/symdiff/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/symdiff/SCRIPT b/Logtalk/examples/symdiff/SCRIPT index 9b9f155a6..334596354 100644 --- a/Logtalk/examples/symdiff/SCRIPT +++ b/Logtalk/examples/symdiff/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/viewpoints/NOTES b/Logtalk/examples/viewpoints/NOTES index 66df39e48..c477ee3fc 100644 --- a/Logtalk/examples/viewpoints/NOTES +++ b/Logtalk/examples/viewpoints/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/examples/viewpoints/SCRIPT b/Logtalk/examples/viewpoints/SCRIPT index cc2bf1c68..55e9fe1b6 100644 --- a/Logtalk/examples/viewpoints/SCRIPT +++ b/Logtalk/examples/viewpoints/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/NOTES b/Logtalk/library/NOTES index bc6b1febc..0cb32f9e5 100644 --- a/Logtalk/library/NOTES +++ b/Logtalk/library/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/SCRIPT b/Logtalk/library/SCRIPT index 1d5673829..29286d56d 100644 --- a/Logtalk/library/SCRIPT +++ b/Logtalk/library/SCRIPT @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/all.notes b/Logtalk/library/all.notes index b0d9bdf91..9b1eb2e31 100644 --- a/Logtalk/library/all.notes +++ b/Logtalk/library/all.notes @@ -1,7 +1,7 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/dates.notes b/Logtalk/library/dates.notes index b2fb520a2..298f494ff 100644 --- a/Logtalk/library/dates.notes +++ b/Logtalk/library/dates.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/debugging.notes b/Logtalk/library/debugging.notes index f07b84194..ae53012f1 100644 --- a/Logtalk/library/debugging.notes +++ b/Logtalk/library/debugging.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/dependents.notes b/Logtalk/library/dependents.notes index 8b019fc04..7c0a73ff7 100644 --- a/Logtalk/library/dependents.notes +++ b/Logtalk/library/dependents.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/events.notes b/Logtalk/library/events.notes index b945091a9..e2bbaa1d4 100644 --- a/Logtalk/library/events.notes +++ b/Logtalk/library/events.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/hierarchies.notes b/Logtalk/library/hierarchies.notes index dcf77e371..d0c72fe9d 100644 --- a/Logtalk/library/hierarchies.notes +++ b/Logtalk/library/hierarchies.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/metapredicates.notes b/Logtalk/library/metapredicates.notes index 864a31c14..9670792e6 100644 --- a/Logtalk/library/metapredicates.notes +++ b/Logtalk/library/metapredicates.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/random.notes b/Logtalk/library/random.notes index e42dce35b..9b00f2329 100644 --- a/Logtalk/library/random.notes +++ b/Logtalk/library/random.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/library/types.notes b/Logtalk/library/types.notes index b73ceac29..09d829af4 100644 --- a/Logtalk/library/types.notes +++ b/Logtalk/library/types.notes @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/manuals/NOTES b/Logtalk/manuals/NOTES index f601e5595..6a6ffa078 100644 --- a/Logtalk/manuals/NOTES +++ b/Logtalk/manuals/NOTES @@ -1,6 +1,6 @@ ================================================================= Logtalk - Object oriented extension to Prolog -Release 2.15.6 +Release 2.16.0 Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. ================================================================= diff --git a/Logtalk/manuals/index.html b/Logtalk/manuals/index.html index 8d48b9c43..6dc441fa2 100644 --- a/Logtalk/manuals/index.html +++ b/Logtalk/manuals/index.html @@ -8,7 +8,7 @@ - Logtalk 2.15.6 Documentation + Logtalk 2.16.0 Documentation @@ -18,7 +18,7 @@   -

Logtalk 2.15.6 Documentation

+

Logtalk 2.16.0 Documentation