Logtalk 2.16.0 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1014 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
8a0fa13746
commit
d494081bc5
271
Logtalk/LICENSE
271
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.
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
26
Logtalk/examples/operators/NOTES
Normal file
26
Logtalk/examples/operators/NOTES
Normal file
@ -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.
|
46
Logtalk/examples/operators/SCRIPT
Normal file
46
Logtalk/examples/operators/SCRIPT
Normal file
@ -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
|
21
Logtalk/examples/operators/double.lgt
Normal file
21
Logtalk/examples/operators/double.lgt
Normal file
@ -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.
|
5
Logtalk/examples/operators/next.txt
Normal file
5
Logtalk/examples/operators/next.txt
Normal file
@ -0,0 +1,5 @@
|
||||
0 next 1.
|
||||
1 next 2.
|
||||
2 next 3.
|
||||
3 next 4.
|
||||
4 next 5.
|
6
Logtalk/examples/operators/operators.loader
Normal file
6
Logtalk/examples/operators/operators.loader
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
:- initialization(
|
||||
logtalk_load([
|
||||
double,
|
||||
triple,
|
||||
reverse])).
|
33
Logtalk/examples/operators/reverse.lgt
Normal file
33
Logtalk/examples/operators/reverse.lgt
Normal file
@ -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.
|
34
Logtalk/examples/operators/triple.lgt
Normal file
34
Logtalk/examples/operators/triple.lgt
Normal file
@ -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.
|
3
Logtalk/examples/operators/triple.txt
Normal file
3
Logtalk/examples/operators/triple.txt
Normal file
@ -0,0 +1,3 @@
|
||||
1 triple 3.
|
||||
2 triple 6.
|
||||
3 triple 9.
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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 @@
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<title>Logtalk 2.15.6 Documentation</title>
|
||||
<title>Logtalk 2.16.0 Documentation</title>
|
||||
<link rel="stylesheet" href="styles.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<h1>Logtalk 2.15.6 Documentation</h1>
|
||||
<h1>Logtalk 2.16.0 Documentation</h1>
|
||||
|
||||
<ul>
|
||||
<li><h2><a href="userman/index.html">User Manual</a></h2></li>
|
||||
@ -37,7 +37,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 5, 2004</span></p>
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 11, 2004</span></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<h4>Template and modes</h4>
|
||||
|
||||
<blockquote>
|
||||
<pre>op(+integer, +associativity, +atom)</pre>
|
||||
<pre>op(+integer, +associativity, +atom_or_atom_list)</pre>
|
||||
</blockquote>
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 11, 2004</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -107,6 +107,7 @@
|
||||
<dd><a name="predicates_meta" href="predicates.html#meta">Metapredicate directive</a></dd>
|
||||
<dd><a name="predicates_discontiguous" href="predicates.html#discontiguous">Discontiguous directive</a></dd>
|
||||
<dd><a name="predicates_dynamic" href="predicates.html#dynamic">Dynamic directive</a></dd>
|
||||
<dd><a name="predicates_op" href="predicates.html#op">Operator directive</a></dd>
|
||||
<dd><a name="predicates_info" href="predicates.html#info">Documenting directive</a></dd>
|
||||
<li><a name="predicates_defining" href="predicates.html#defining">Defining predicates</a></li>
|
||||
<dd><a name="predicates_objects" href="predicates.html#objects">Object predicates</a></dd>
|
||||
@ -226,7 +227,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 5, 2004</span></p>
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 11, 2004</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<h2>Installing Logtalk<a name="installing"></a></h2>
|
||||
|
||||
<p>
|
||||
The Logtalk system can be installed in any directory that is accessible to the user. The installation process consists merely in decompressing an archive file that will lead to a new directory with the structure/contents described below. The decompression process naturally depends on the operative system that you are using.
|
||||
The Logtalk system can be installed in any directory that is accessible to the user. The installation process consists merely in decompressing an archive file that will lead to a new directory with the structure/contents described below. The decompression process naturally depends on the operative system that you are using. Users wishing to use the Logtalk library and Logtalk examples will need write access to the respective directories.
|
||||
</p>
|
||||
|
||||
<h4>Mac OS 8.x, 9.x</h4>
|
||||
@ -35,7 +35,7 @@ The Macintosh version is included in the file <code>lgt2xx.sea.bin</code>, a <co
|
||||
<h4>MacOS X, BSD, Linux, Unix</h4>
|
||||
|
||||
<p>
|
||||
The Linux/Unix version is included in the file <code>lgt2xx.tar.gz</code>. In order to decompress and install the system you may use the following commands:
|
||||
The MacOS X/BSD/Linux/Unix version is included in the file <code>lgt2xx.tar.gz</code>. In order to decompress and install the system you may use the following commands:
|
||||
</p>
|
||||
<pre>
|
||||
% gunzip lgt2xx.tar.gz
|
||||
@ -342,7 +342,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 5, 2004</span></p>
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 11, 2004</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -164,6 +164,18 @@ An object (or category) predicate can be static or dynamic. By default, all obje
|
||||
Because each Logtalk entity is compiled independently from other entities, this directive must be included in every object or category that contains a definition for the described predicate (even if the predicate declaration is inherited from other entity). If we omit the dynamic declaration then the predicate definition will be compiled to static code. Note that any static object may declare and define dynamic predicates.
|
||||
</p>
|
||||
|
||||
<h3>Operator directive<a name="op"></a></h3>
|
||||
|
||||
<p>
|
||||
An object (or category) predicate can be declared as an operator using the familiar <a title="Consult reference manual" href="../refman/directives/op3.html"><code>op/3</code></a> directive:
|
||||
</p>
|
||||
<pre>
|
||||
:- op(Priority, Specifier, Operator).
|
||||
</pre>
|
||||
<p>
|
||||
Operators are local to the object (or category) where they are declared. This means that, if you declare a public predicate as an operator, you cannot use operator notation when sending to an object (where the predicate is visible) the respective message (as this would imply visibility of the operator declaration in the context of the <em>sender</em> of the message).
|
||||
</p>
|
||||
|
||||
<h3>Documenting directive<a name="info"></a></h3>
|
||||
|
||||
<p>
|
||||
@ -380,7 +392,7 @@ Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: December 23, 2003</span></p>
|
||||
<p><span class="bleft"><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span><span class="bright">Last updated on: February 11, 2004</span></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,11 +1,12 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.15.6
|
||||
Release 2.16.0
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
|
||||
This directory contains files that provide syntax highlighting
|
||||
and other editing services for writing Logtalk source files with
|
||||
common text editors.
|
||||
and other editing services for writing Logtalk source files (*.lgt)
|
||||
with common text editors. By default, Logtalk syntax highlighting is
|
||||
also applied to loader files (*.loader) and config files (*.config).
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -1,11 +1,11 @@
|
||||
;; logtalk.el -- font lock support for Logtalk (http://www.logtalk.org/)
|
||||
|
||||
;; Copyright (C) 2003 Paulo Moura
|
||||
;; Copyright (C) 2003-2004 Paulo Moura
|
||||
|
||||
;; Author: Paulo Moura
|
||||
;; Creation date: November 15, 2003
|
||||
;; Last modification date: February 2, 2004
|
||||
;; Version: 0.5
|
||||
;; Last modification date: February 23, 2004
|
||||
;; Version: 0.51
|
||||
|
||||
;; Installation:
|
||||
;;
|
||||
@ -15,6 +15,7 @@
|
||||
;; (autoload 'logtalk-mode "logtalk" "Major mode for editing Logtalk programs." t)
|
||||
;; (setq auto-mode-alist (cons '("\\.lgt\\'" . logtalk-mode) auto-mode-alist))
|
||||
;; (setq auto-mode-alist (cons '("\\.loader\\'" . logtalk-mode) auto-mode-alist))
|
||||
;; (setq auto-mode-alist (cons '("\\.config\\'" . logtalk-mode) auto-mode-alist))
|
||||
|
||||
|
||||
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
@ -19,7 +19,7 @@ To install:
|
||||
2. Open the "catalog" file in the same subdirectory and add (if not
|
||||
present) the following entry:
|
||||
|
||||
<MODE NAME="logtalk" FILE="logtalk.xml" FILE_NAME_GLOB="*.{lgt,loader}" />
|
||||
<MODE NAME="logtalk" FILE="logtalk.xml" FILE_NAME_GLOB="*.{lgt,loader,config}" />
|
||||
|
||||
3. Install (or update if necessary) the jEdit plug-in Templates 3.0.1
|
||||
or later version.
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE language SYSTEM "language.dtd">
|
||||
|
||||
<language name="Logtalk" version="1.0" kateversion="2.2" section="Sources" extensions="*.lgt;*.loader" mimetype="text/x-logtalk">
|
||||
<language name="Logtalk" version="1.0" kateversion="2.2" section="Sources" extensions="*.lgt;*.loader;*.config" mimetype="text/x-logtalk">
|
||||
|
||||
<highlighting>
|
||||
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -66,4 +66,4 @@ nedit.highlightPatterns: Logtalk:1:0{\n\
|
||||
Other arithemtic functors:"\\*\\*|<(sin|cos|atan|exp|log|sqrt)(?=[(])":::Subroutine::\n\
|
||||
Bitwise functors:">>|<<|/\\\\|\\\\/|\\\\":::Subroutine::\n\
|
||||
}
|
||||
nedit.languageModes: Logtalk:.lgt .loader::::4:4:\n\
|
||||
nedit.languageModes: Logtalk:.lgt .loader .config::::4:4:\n\
|
||||
|
@ -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 @@
|
||||
<key>Name</key>
|
||||
<string>Logtalk</string>
|
||||
<key>Extensions</key>
|
||||
<string>lgt,loader</string>
|
||||
<string>lgt,loader,config</string>
|
||||
<key>Valid Characters for Variables</key>
|
||||
<string>_0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</string>
|
||||
</dict>
|
||||
@ -33,6 +33,24 @@
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>Name</key>
|
||||
<string>Quoted Atoms and Strings</string>
|
||||
<key>Color</key>
|
||||
<array>
|
||||
<real>0.537</real>
|
||||
<real>0.075</real>
|
||||
<real>0.082</real>
|
||||
</array>
|
||||
<key>Multiline</key>
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>("(\\"|[^"])*")</string>
|
||||
<string>('(\\'|[^'])*')</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>Name</key>
|
||||
<string>Directives</string>
|
||||
@ -81,11 +99,11 @@
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>(instantiates)\(</string>
|
||||
<string>(specializes)\(</string>
|
||||
<string>(extends)\(</string>
|
||||
<string>(imports)\(</string>
|
||||
<string>(implements)\(</string>
|
||||
<string>[^A-Za-z0-9](instantiates)\(</string>
|
||||
<string>[^A-Za-z0-9](specializes)\(</string>
|
||||
<string>[^A-Za-z0-9](extends)\(</string>
|
||||
<string>[^A-Za-z0-9](imports)\(</string>
|
||||
<string>[^A-Za-z0-9](implements)\(</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
@ -138,9 +156,9 @@
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>(call)\(</string>
|
||||
<string>(catch)\(</string>
|
||||
<string>(throw)\(</string>
|
||||
<string>[^A-Za-z0-9](call)\(</string>
|
||||
<string>[^A-Za-z0-9](catch)\(</string>
|
||||
<string>[^A-Za-z0-9](throw)\(</string>
|
||||
</array>
|
||||
<key>Plain Strings</key>
|
||||
<array>
|
||||
@ -162,25 +180,25 @@
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>(parameter)\(</string>
|
||||
<string>(self)\(</string>
|
||||
<string>(sender)\(</string>
|
||||
<string>(this)\(</string>
|
||||
<string>(current_predicate)\(</string>
|
||||
<string>(predicate_property)\(</string>
|
||||
<string>(abolish)\(</string>
|
||||
<string>(asserta)\(</string>
|
||||
<string>(assertz)\(</string>
|
||||
<string>(clause)\(</string>
|
||||
<string>(retract)\(</string>
|
||||
<string>(retractall)\(</string>
|
||||
<string>(bagof)\(</string>
|
||||
<string>(findall)\(</string>
|
||||
<string>(forall)\(</string>
|
||||
<string>(setof)\(</string>
|
||||
<string>(before)\(</string>
|
||||
<string>(after)\(</string>
|
||||
<string>(phrase)\(</string>
|
||||
<string>[^A-Za-z0-9](parameter)\(</string>
|
||||
<string>[^A-Za-z0-9](self)\(</string>
|
||||
<string>[^A-Za-z0-9](sender)\(</string>
|
||||
<string>[^A-Za-z0-9](this)\(</string>
|
||||
<string>[^A-Za-z0-9](current_predicate)\(</string>
|
||||
<string>[^A-Za-z0-9](predicate_property)\(</string>
|
||||
<string>[^A-Za-z0-9](abolish)\(</string>
|
||||
<string>[^A-Za-z0-9](asserta)\(</string>
|
||||
<string>[^A-Za-z0-9](assertz)\(</string>
|
||||
<string>[^A-Za-z0-9](clause)\(</string>
|
||||
<string>[^A-Za-z0-9](retract)\(</string>
|
||||
<string>[^A-Za-z0-9](retractall)\(</string>
|
||||
<string>[^A-Za-z0-9](bagof)\(</string>
|
||||
<string>[^A-Za-z0-9](findall)\(</string>
|
||||
<string>[^A-Za-z0-9](forall)\(</string>
|
||||
<string>[^A-Za-z0-9](setof)\(</string>
|
||||
<string>[^A-Za-z0-9](before)\(</string>
|
||||
<string>[^A-Za-z0-9](after)\(</string>
|
||||
<string>[^A-Za-z0-9](phrase)\(</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
@ -197,33 +215,33 @@
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>(current_object)\(</string>
|
||||
<string>(current_protocol)\(</string>
|
||||
<string>(current_category)\(</string>
|
||||
<string>(create_object)\(</string>
|
||||
<string>(create_protocol)\(</string>
|
||||
<string>(create_category)\(</string>
|
||||
<string>(object_property)\(</string>
|
||||
<string>(protocol_property)\(</string>
|
||||
<string>(category_property)\(</string>
|
||||
<string>(abolish_object)\(</string>
|
||||
<string>(abolish_protocol)\(</string>
|
||||
<string>(abolish_category)\(</string>
|
||||
<string>(extends_object)\(</string>
|
||||
<string>(extends_protocol)\(</string>
|
||||
<string>(implements_protocol)\(</string>
|
||||
<string>(instantiates_class)\(</string>
|
||||
<string>(specializes_class)\(</string>
|
||||
<string>(imports_category)\(</string>
|
||||
<string>(abolish_events)\(</string>
|
||||
<string>(current_event)\(</string>
|
||||
<string>(define_events)\(</string>
|
||||
<string>(current_logtalk_flag)\(</string>
|
||||
<string>(set_logtalk_flag)\(</string>
|
||||
<string>(logtalk_compile)\(</string>
|
||||
<string>(logtalk_load)\(</string>
|
||||
<string>(forall)\(</string>
|
||||
<string>(retractall)\(</string>
|
||||
<string>[^A-Za-z0-9](current_object)\(</string>
|
||||
<string>[^A-Za-z0-9](current_protocol)\(</string>
|
||||
<string>[^A-Za-z0-9](current_category)\(</string>
|
||||
<string>[^A-Za-z0-9](create_object)\(</string>
|
||||
<string>[^A-Za-z0-9](create_protocol)\(</string>
|
||||
<string>[^A-Za-z0-9](create_category)\(</string>
|
||||
<string>[^A-Za-z0-9](object_property)\(</string>
|
||||
<string>[^A-Za-z0-9](protocol_property)\(</string>
|
||||
<string>[^A-Za-z0-9](category_property)\(</string>
|
||||
<string>[^A-Za-z0-9](abolish_object)\(</string>
|
||||
<string>[^A-Za-z0-9](abolish_protocol)\(</string>
|
||||
<string>[^A-Za-z0-9](abolish_category)\(</string>
|
||||
<string>[^A-Za-z0-9](extends_object)\(</string>
|
||||
<string>[^A-Za-z0-9](extends_protocol)\(</string>
|
||||
<string>[^A-Za-z0-9](implements_protocol)\(</string>
|
||||
<string>[^A-Za-z0-9](instantiates_class)\(</string>
|
||||
<string>[^A-Za-z0-9](specializes_class)\(</string>
|
||||
<string>[^A-Za-z0-9](imports_category)\(</string>
|
||||
<string>[^A-Za-z0-9](abolish_events)\(</string>
|
||||
<string>[^A-Za-z0-9](current_event)\(</string>
|
||||
<string>[^A-Za-z0-9](define_events)\(</string>
|
||||
<string>[^A-Za-z0-9](current_logtalk_flag)\(</string>
|
||||
<string>[^A-Za-z0-9](set_logtalk_flag)\(</string>
|
||||
<string>[^A-Za-z0-9](logtalk_compile)\(</string>
|
||||
<string>[^A-Za-z0-9](logtalk_load)\(</string>
|
||||
<string>[^A-Za-z0-9](forall)\(</string>
|
||||
<string>[^A-Za-z0-9](retractall)\(</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
@ -243,16 +261,16 @@
|
||||
<!-- Term unification -->
|
||||
<string>[[:space:]]+(=)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(\\=)[[:space:]]+</string>
|
||||
<string>(unify_with_occurs_check)\(</string>
|
||||
<string>[^A-Za-z0-9](unify_with_occurs_check)\(</string>
|
||||
<!-- Term testing -->
|
||||
<string>(var)\(</string>
|
||||
<string>(atom)\(</string>
|
||||
<string>(integer)\(</string>
|
||||
<string>(float)\(</string>
|
||||
<string>(atomic)\(</string>
|
||||
<string>(compound)\(</string>
|
||||
<string>(nonvar)\(</string>
|
||||
<string>(number)\(</string>
|
||||
<string>[^A-Za-z0-9](var)\(</string>
|
||||
<string>[^A-Za-z0-9](atom)\(</string>
|
||||
<string>[^A-Za-z0-9](integer)\(</string>
|
||||
<string>[^A-Za-z0-9](float)\(</string>
|
||||
<string>[^A-Za-z0-9](atomic)\(</string>
|
||||
<string>[^A-Za-z0-9](compound)\(</string>
|
||||
<string>[^A-Za-z0-9](nonvar)\(</string>
|
||||
<string>[^A-Za-z0-9](number)\(</string>
|
||||
<!-- Term comparison -->
|
||||
<string>[[:space:]]+(==)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(\\==)[[:space:]]+</string>
|
||||
@ -261,10 +279,10 @@
|
||||
<string>[[:space:]]+(@>=)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(@>)[[:space:]]+</string>
|
||||
<!-- Term creation and decomposition -->
|
||||
<string>(functor)\(</string>
|
||||
<string>(arg)\(</string>
|
||||
<string>[^A-Za-z0-9](functor)\(</string>
|
||||
<string>[^A-Za-z0-9](arg)\(</string>
|
||||
<string>[[:space:]]+(=\.\.)[[:space:]]+</string>
|
||||
<string>(copy_term)\(</string>
|
||||
<string>[^A-Za-z0-9](copy_term)\(</string>
|
||||
<!-- Arithemtic evaluation -->
|
||||
<string>[[:space:]]+(is)[[:space:]]+</string>
|
||||
<!-- Arithemtic comparison -->
|
||||
@ -282,25 +300,25 @@
|
||||
<string>[[:space:]]+(/)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(rem)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(mod)[[:space:]]+</string>
|
||||
<string>(rem)\(</string>
|
||||
<string>(mod)\(</string>
|
||||
<string>(abs)\(</string>
|
||||
<string>(sign)\(</string>
|
||||
<string>(float_integer_part)\(</string>
|
||||
<string>(float_fractional_part)\(</string>
|
||||
<string>(float)\(</string>
|
||||
<string>(floor)\(</string>
|
||||
<string>(truncate)\(</string>
|
||||
<string>(round)\(</string>
|
||||
<string>(ceiling)\(</string>
|
||||
<string>[^A-Za-z0-9](rem)\(</string>
|
||||
<string>[^A-Za-z0-9](mod)\(</string>
|
||||
<string>[^A-Za-z0-9](abs)\(</string>
|
||||
<string>[^A-Za-z0-9](sign)\(</string>
|
||||
<string>[^A-Za-z0-9](float_integer_part)\(</string>
|
||||
<string>[^A-Za-z0-9](float_fractional_part)\(</string>
|
||||
<string>[^A-Za-z0-9](float)\(</string>
|
||||
<string>[^A-Za-z0-9](floor)\(</string>
|
||||
<string>[^A-Za-z0-9](truncate)\(</string>
|
||||
<string>[^A-Za-z0-9](round)\(</string>
|
||||
<string>[^A-Za-z0-9](ceiling)\(</string>
|
||||
<!-- Other arithemtic functors -->
|
||||
<string>[[:space:]]+(\*\*)[[:space:]]+</string>
|
||||
<string>(sin)\(</string>
|
||||
<string>(cos)\(</string>
|
||||
<string>(atan)\(</string>
|
||||
<string>(exp)\(</string>
|
||||
<string>(log)\(</string>
|
||||
<string>(sqrt)\(</string>
|
||||
<string>[^A-Za-z0-9](sin)\(</string>
|
||||
<string>[^A-Za-z0-9](cos)\(</string>
|
||||
<string>[^A-Za-z0-9](atan)\(</string>
|
||||
<string>[^A-Za-z0-9](exp)\(</string>
|
||||
<string>[^A-Za-z0-9](log)\(</string>
|
||||
<string>[^A-Za-z0-9](sqrt)\(</string>
|
||||
<!-- Bitwise functors -->
|
||||
<string>[[:space:]]+(>>)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(<<)[[:space:]]+</string>
|
||||
@ -308,55 +326,55 @@
|
||||
<string>[[:space:]]+(\\/)[[:space:]]+</string>
|
||||
<string>[[:space:]]+(\\)[[:space:]]+</string>
|
||||
<!-- Stream selection and control -->
|
||||
<string>(current_input)\(</string>
|
||||
<string>(current_output)\(</string>
|
||||
<string>(set_input)\(</string>
|
||||
<string>(set_output)\(</string>
|
||||
<string>(open)\(</string>
|
||||
<string>(close)\(</string>
|
||||
<string>(flush_output)\(</string>
|
||||
<string>(stream_property)\(</string>
|
||||
<string>(at_end_of_stream)\(</string>
|
||||
<string>(set_stream_position)\(</string>
|
||||
<string>[^A-Za-z0-9](current_input)\(</string>
|
||||
<string>[^A-Za-z0-9](current_output)\(</string>
|
||||
<string>[^A-Za-z0-9](set_input)\(</string>
|
||||
<string>[^A-Za-z0-9](set_output)\(</string>
|
||||
<string>[^A-Za-z0-9](open)\(</string>
|
||||
<string>[^A-Za-z0-9](close)\(</string>
|
||||
<string>[^A-Za-z0-9](flush_output)\(</string>
|
||||
<string>[^A-Za-z0-9](stream_property)\(</string>
|
||||
<string>[^A-Za-z0-9](at_end_of_stream)\(</string>
|
||||
<string>[^A-Za-z0-9](set_stream_position)\(</string>
|
||||
<!-- Character input/output -->
|
||||
<string>(get_char)\(</string>
|
||||
<string>(get_code)\(</string>
|
||||
<string>(peek_char)\(</string>
|
||||
<string>(peek_code)\(</string>
|
||||
<string>(put_char)\(</string>
|
||||
<string>(put_code)\(</string>
|
||||
<string>(nl)\(</string>
|
||||
<string>[^A-Za-z0-9](get_char)\(</string>
|
||||
<string>[^A-Za-z0-9](get_code)\(</string>
|
||||
<string>[^A-Za-z0-9](peek_char)\(</string>
|
||||
<string>[^A-Za-z0-9](peek_code)\(</string>
|
||||
<string>[^A-Za-z0-9](put_char)\(</string>
|
||||
<string>[^A-Za-z0-9](put_code)\(</string>
|
||||
<string>[^A-Za-z0-9](nl)\(</string>
|
||||
<!-- Byte input/output -->
|
||||
<string>(get_byte)\(</string>
|
||||
<string>(peek_byte)\(</string>
|
||||
<string>(put_byte)\(</string>
|
||||
<string>[^A-Za-z0-9](get_byte)\(</string>
|
||||
<string>[^A-Za-z0-9](peek_byte)\(</string>
|
||||
<string>[^A-Za-z0-9](put_byte)\(</string>
|
||||
<!-- Term input/output -->
|
||||
<string>(read_term)\(</string>
|
||||
<string>(read)\(</string>
|
||||
<string>(write_term)\(</string>
|
||||
<string>(write)\(</string>
|
||||
<string>(writeq)\(</string>
|
||||
<string>(write_canonical)\(</string>
|
||||
<string>(op)\(</string>
|
||||
<string>(current_op)\(</string>
|
||||
<string>(char_conversion)\(</string>
|
||||
<string>(current_char_conversion)\(</string>
|
||||
<string>[^A-Za-z0-9](read_term)\(</string>
|
||||
<string>[^A-Za-z0-9](read)\(</string>
|
||||
<string>[^A-Za-z0-9](write_term)\(</string>
|
||||
<string>[^A-Za-z0-9](writeq)\(</string>
|
||||
<string>[^A-Za-z0-9](write)\(</string>
|
||||
<string>[^A-Za-z0-9](write_canonical)\(</string>
|
||||
<string>[^A-Za-z0-9](op)\(</string>
|
||||
<string>[^A-Za-z0-9](current_op)\(</string>
|
||||
<string>[^A-Za-z0-9](char_conversion)\(</string>
|
||||
<string>[^A-Za-z0-9](current_char_conversion)\(</string>
|
||||
<!-- Logic and control -->
|
||||
<string>(\\\+)[[:space:]]+</string>
|
||||
<string>(once)\(</string>
|
||||
<string>[^A-Za-z0-9](once)\(</string>
|
||||
<!-- Atomic term processing -->
|
||||
<string>(atom_length)\(</string>
|
||||
<string>(atom_concat)\(</string>
|
||||
<string>(sub_atom)\(</string>
|
||||
<string>(atom_chars)\(</string>
|
||||
<string>(atom_codes)\(</string>
|
||||
<string>(char_code)\(</string>
|
||||
<string>(number_chars)\(</string>
|
||||
<string>(number_codes)\(</string>
|
||||
<string>[^A-Za-z0-9](atom_length)\(</string>
|
||||
<string>[^A-Za-z0-9](atom_concat)\(</string>
|
||||
<string>[^A-Za-z0-9](sub_atom)\(</string>
|
||||
<string>[^A-Za-z0-9](atom_chars)\(</string>
|
||||
<string>[^A-Za-z0-9](atom_codes)\(</string>
|
||||
<string>[^A-Za-z0-9](char_code)\(</string>
|
||||
<string>[^A-Za-z0-9](number_chars)\(</string>
|
||||
<string>[^A-Za-z0-9](number_codes)\(</string>
|
||||
<!-- Implementation defined hooks functions -->
|
||||
<string>(set_prolog_flag)\(</string>
|
||||
<string>(current_prolog_flag)\(</string>
|
||||
<string>(halt)\(</string>
|
||||
<string>[^A-Za-z0-9](set_prolog_flag)\(</string>
|
||||
<string>[^A-Za-z0-9](current_prolog_flag)\(</string>
|
||||
<string>[^A-Za-z0-9](halt)\(</string>
|
||||
</array>
|
||||
<key>Plain Strings</key>
|
||||
<array>
|
||||
@ -393,24 +411,6 @@
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>Name</key>
|
||||
<string>Quoted Atoms and Strings</string>
|
||||
<key>Color</key>
|
||||
<array>
|
||||
<real>0.537</real>
|
||||
<real>0.075</real>
|
||||
<real>0.082</real>
|
||||
</array>
|
||||
<key>Multiline</key>
|
||||
<false/>
|
||||
<key>Regular Expressions</key>
|
||||
<array>
|
||||
<string>'(.+)'</string>
|
||||
<string>"(.+)"</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>Name</key>
|
||||
<string>Single Line Comment</string>
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
@ -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.
|
||||
=================================================================
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user