This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/manuals/userman/index.html
pmoura d6bbeaa734 Logtalk 2.22.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1191 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-29 20:36:31 +00:00

275 lines
18 KiB
HTML

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/css" href="../styles.css" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Logtalk User Manual</title>
<link rel="stylesheet" href="../styles.css" type="text/css" />
</head>
<body>
<div class="navtop">
<a href="../index.html">contents</a>
</div>
<h1>User Manual</h1>
<ul>
<li><a href="#features">Logtalk features</a></li>
</ul>
<ul>
<li><a href="#messages">Message sending</a></li>
<li><a href="#objects">Objects</a></li>
<li><a href="#protocols">Protocols</a></li>
<li><a href="#categories">Categories</a></li>
<li><a href="#predicates">Predicates</a></li>
<li><a href="#inheritance">Inheritance</a></li>
<li><a href="#events">Event-driven programming</a></li>
<li><a href="#errors">Error handling</a></li>
</ul>
<ul>
<li><a href="#documenting">Documenting Logtalk programs</a></li>
</ul>
<ul>
<li><a href="#installing">Installing Logtalk</a></li>
<li><a href="#running">Running and debugging Logtalk programs</a></li>
<li><a href="#programming">Programming in Logtalk</a></li>
</ul>
<h2><a name="features" href="features.html">Logtalk features</a></h2>
<dl>
<dt><a name="features_logic" href="features.html#logic">Integration of logic and object-oriented programming</a></dt>
<dt><a name="features_events" href="features.html#events">Integration of event-driven and object-oriented programming</a></dt>
<dt><a name="features_categories" href="features.html#categories">Support for component-based programming</a></dt>
<dt><a name="features_both" href="features.html#both">Support for both prototype and class-based systems</a></dt>
<dt><a name="features_multiple" href="features.html#multiple">Support for multiple object hierarchies</a></dt>
<dt><a name="features_interface" href="features.html#interface">Separation between interface and implementation</a></dt>
<dt><a name="features_inheritance" href="features.html#inheritance">Private, protected and public inheritance</a></dt>
<dt><a name="features_predicates" href="features.html#predicates">Private, protected and public object predicates</a></dt>
<dt><a name="features_parametric" href="features.html#parametric">Parametric objects</a></dt>
<dt><a name="features_learning" href="features.html#learning">Smooth learning curve</a></dt>
<dt><a name="features_compatibility" href="features.html#compatibility">Compatibility with most Prologs and the ISO standard</a></dt>
<dt><a name="features_performance" href="features.html#performance">Performance</a></dt>
</dl>
<h2><a name="messages" href="messages.html">Message sending</a></h2>
<dl>
<dt><a name="messages_operators" href="messages.html#operators">Operators used in message sending</a></dt>
<dt><a name="messages_sending" href="messages.html#sending">Sending a message to an object</a></dt>
<dt><a name="messages_broadcasting" href="messages.html#broadcasting">Broadcasting</a></dt>
<dt><a name="messages_self" href="messages.html#self">Sending a message to <em>self</em></a></dt>
<dt><a name="messages_super" href="messages.html#super">Calling an overridden predicate definition</a></dt>
<dt><a name="messages_events" href="messages.html#events">Message sending and event generation</a></dt>
<dt><a name="messages_performance" href="messages.html#performance">Message sending performance</a></dt>
</dl>
<h2><a name="objects" href="objects.html">Objects</a></h2>
<dl>
<dt><a name="objects_kind" href="objects.html#kind">Objects, prototypes, classes and instances</a></dt>
<dt><a name="objects_defining" href="objects.html#defining">Defining a new object</a></dt>
<dt><a name="objects_parametric" href="objects.html#parametric">Parametric objects</a></dt>
<dt><a name="objects_finding" href="objects.html#finding">Finding defined objects</a></dt>
<dt><a name="objects_creating" href="objects.html#creating">Creating a new object in runtime</a></dt>
<dt><a name="objects_abolishing" href="objects.html#abolishing">Abolishing an existing object</a></dt>
<dt><a name="objects_directives" href="objects.html#directives">Object directives</a></dt>
<dd><a name="objects_initialization" href="objects.html#initialization">Object initialization</a></dd>
<dd><a name="objects_dynamic" href="objects.html#dynamic">Dynamic objects</a></dd>
<dd><a name="objects_dependencies" href="objects.html#dependencies">Object dependencies</a></dd>
<dd><a name="objects_documentation" href="objects.html#documentation">Object documentation</a></dd>
<dt><a name="objects_relationships" href="objects.html#relationships">Object relationships</a></dt>
<dt><a name="objects_properties" href="objects.html#properties">Object properties</a></dt>
<dt><a name="objects_user" href="objects.html#user">The pseudo-object user</a></dt>
<dt><a name="objects_debugger" href="objects.html#debugger">The pseudo-object debugger</a></dt>
</dl>
<h2><a name="protocols" href="protocols.html">Protocols</a></h2>
<dl>
<dt><a name="protocols_defining" href="protocols.html#defining">Defining a new protocol</a></dt>
<dt><a name="protocols_finding" href="protocols.html#finding">Finding defined protocols</a></dt>
<dt><a name="protocols_creating" href="protocols.html#creating">Creating a new protocol in runtime</a></dt>
<dt><a name="protocols_abolishing" href="protocols.html#abolishing">Abolishing an existing protocol</a></dt>
<dt><a name="protocols_directives" href="protocols.html#directives">Protocol directives</a></dt>
<dd><a name="protocols_initialization" href="protocols.html#initialization">Protocol initialization</a></dd>
<dd><a name="protocols_dynamic" href="protocols.html#dynamic">Dynamic protocols</a></dd>
<dd><a name="protocols_documentation" href="protocols.html#documentation">Protocol documentation</a></dd>
<dt><a name="protocols_relationships" href="protocols.html#relationships">Protocol relationships</a></dt>
<dt><a name="protocols_properties" href="protocols.html#properties">Protocol properties</a></dt>
<dt><a name="protocols_implementing" href="protocols.html#properties">Implementing protocols</a></dt>
</dl>
<h2><a name="categories" href="categories.html">Categories</a></h2>
<dl>
<dt><a name="categories_defining" href="categories.html#defining">Defining a new category</a></dt>
<dt><a name="categories_finding" href="categories.html#finding">Finding defined categories</a></dt>
<dt><a name="categories_creating" href="categories.html#creating">Creating a new category in runtime</a></dt>
<dt><a name="categories_abolishing" href="categories.html#abolishing">Abolishing an existing category</a></dt>
<dt><a name="categories_directives" href="categories.html#directives">Category directives</a></dt>
<dd><a name="categories_initialization" href="categories.html#initialization">Category initialization</a></dd>
<dd><a name="categories_dynamic" href="categories.html#dynamic">Dynamic categories</a></dd>
<dd><a name="categories_dependencies" href="categories.html#dependencies">Category dependencies</a></dd>
<dd><a name="categories_documentation" href="categories.html#documentation">Category documentation</a></dd>
<dt><a name="categories_relationships" href="categories.html#relationships">Category relationships</a></dt>
<dt><a name="categories_properties" href="categories.html#properties">Category properties</a></dt>
<dt><a name="categories_importing" href="categories.html#importing">Importing categories</a></dt>
</dl>
<h2><a name="predicates" href="predicates.html">Predicates</a></h2>
<dl>
<dt><a name="predicates_declaring" href="predicates.html#declaring">Declaring predicates</a></dt>
<dd><a name="predicates_scope" href="predicates.html#scope">Scope directives</a></dd>
<dd><a name="predicates_mode" href="predicates.html#mode">Mode directive</a></dd>
<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_uses" href="predicates.html#uses">Uses directive</a></dd>
<dd><a name="predicates_alias" href="predicates.html#alias">Alias directive</a></dd>
<dd><a name="predicates_info" href="predicates.html#info">Documenting directive</a></dd>
<dt><a name="predicates_defining" href="predicates.html#defining">Defining predicates</a></dt>
<dd><a name="predicates_objects" href="predicates.html#objects">Object predicates</a></dd>
<dd><a name="predicates_categories" href="predicates.html#categories">Category predicates</a></dd>
<dd><a name="predicates_metadef" href="predicates.html#metadef">Metapredicates</a></dd>
<dd><a name="predicates_dcgs" href="predicates.html#dcgs">Definite clause grammars</a></dd>
<dt><a name="predicates_methods" href="predicates.html#methods">Built-in object predicates (methods)</a></dt>
<dd><a name="predicates_context" href="predicates.html#context">Execution context methods</a></dd>
<dd><a name="predicates_database" href="predicates.html#database">Database methods</a></dd>
<dd><a name="predicates_solutions" href="predicates.html#solutions">All solutions methods</a></dd>
<dd><a name="predicates_reflection" href="predicates.html#reflection">Reflection methods</a></dd>
<dd><a name="predicates_parsing" href="predicates.html#parsing">Definite clause grammar parsing methods</a></dd>
<dt><a name="predicates_properties" href="predicates.html#properties">Predicate properties</a></dt>
<dt><a name="predicates_finding" href="predicates.html#finding">Finding declared predicates</a></dt>
<dt><a name="predicates_prolog" href="predicates.html#prolog">Calling Prolog built-in predicates</a></dt>
<dd><a name="predicates_prolog_meta" href="predicates.html#prolog_meta">Calling Prolog non-standard meta-predicates</a></dd>
</dl>
<h2><a name="inheritance" href="inheritance.html">Inheritance</a></h2>
<dl>
<dt><a name="inheritance_protocol" href="inheritance.html#protocol">Protocol inheritance</a></dt>
<dd><a name="inheritance_protocol_prototype" href="inheritance.html#protocol_prototype">Search order for prototype hierarchies</a></dd>
<dd><a name="inheritance_protocol_class" href="inheritance.html#protocol_class">Search order for class hierarchies</a></dd>
<dt><a name="inheritance_implementation" href="inheritance.html#implementation">Implementation inheritance</a></dt>
<dd><a name="inheritance_implementation_prototype" href="inheritance.html#implementation_prototype">Search order for prototype hierarchies</a></dd>
<dd><a name="inheritance_implementation_class" href="inheritance.html#implementation_class">Search order for class hierarchies</a></dd>
<dd><a name="inheritance_implementation_redefinition" href="inheritance.html#implementation_redefinition">Inheritance versus predicate redefinition</a></dd>
<dt><a name="inheritance_types" href="inheritance.html#types">Public, protected and private inheritance</a></dt>
<dt><a name="inheritance_composition" href="inheritance.html#composition">Composition versus multiple inheritance</a></dt>
</dl>
<h2><a name="events" href="events.html">Event-driven programming</a></h2>
<dl>
<dt><a name="events_definitions" href="events.html#definitions">Definitions</a></dt>
<dd><a name="events_event" href="events.html#event">Event</a></dd>
<dd><a name="events_monitor" href="events.html#monitor">Monitor</a></dd>
<dt><a name="events_generation" href="events.html#generation">Event generation</a></dt>
<dt><a name="events_communicating" href="events.html#communicating">Communicating events to monitors</a></dt>
<dt><a name="events_performance" href="events.html#performance">Performance concerns</a></dt>
<dt><a name="events_semantics" href="events.html#semantics">Monitor semantics</a></dt>
<dt><a name="events_order" href="events.html#order">Activation order of monitors</a></dt>
<dt><a name="events_handling" href="events.html#handling">Event handling</a></dt>
<dd><a name="events_finding" href="events.html#finding">Finding defined events</a></dd>
<dd><a name="events_defining" href="events.html#defining">Defining new events</a></dd>
<dd><a name="events_abolishing" href="events.html#abolishing">Abolishing defined events</a></dd>
<dd><a name="events_handlers" href="events.html#handlers">Defining event handlers</a></dd>
</dl>
<h2><a name="errors" href="errors.html">Error handling</a></h2>
<dl>
<dt><a name="errors_compiler" href="errors.html#compiler">Compiler warnings and errors</a></dt>
<dd><a name="errors_wunknown" href="errors.html#wunknown">Unknown entities</a></dd>
<dd><a name="errors_wsingletons" href="errors.html#wsingletons">Singleton variables</a></dd>
<dd><a name="errors_wprolog" href="errors.html#wprolog">Redefinition of Prolog built-in predicates</a></dd>
<dd><a name="errors_wpredicates" href="errors.html#wpredicates">Redefinition of Logtalk built-in predicates</a></dd>
<dd><a name="errors_wmethods" href="errors.html#wmethods">Redefinition of Logtalk built-in methods</a></dd>
<dd><a name="errors_wmisspell" href="errors.html#wmisspell">Misspell calls of local predicates</a></dd>
<dd><a name="errors_wportability" href="errors.html#wportability">Portability warnings</a></dd>
<dd><a name="errors_wothers" href="errors.html#wothers">Other warnings and errors</a></dd>
<dt><a name="errors_runtime" href="errors.html#runtime">Runtime errors</a></dt>
<dd><a name="errors_predicates" href="errors.html#unknownMessage">Logtalk built-in predicates</a></dd>
<dd><a name="errors_methods" href="errors.html#methods">Logtalk built-in methods</a></dd>
<dd><a name="errors_sending" href="errors.html#sending">Message sending</a></dd>
</dl>
<h2><a name="documenting" href="documenting.html">Documenting Logtalk programs</a></h2>
<dl>
<dt><a name="documenting_directives" href="documenting.html#directives">Documenting directives</a></dt>
<dd><a name="documenting_entity" href="documenting.html#entity">Entity directives</a></dd>
<dd><a name="documenting_predicate" href="documenting.html#predicate">Predicate directives</a></dd>
<dt><a name="documenting_processing" href="documenting.html#processing">Processing and viewing documenting files</a></dt>
</dl>
<h2><a name="installing" href="installing.html">Installing Logtalk</a></h2>
<dl>
<dt><a name="installing_installing" href="installing.html#installing">Installing Logtalk</a></dt>
<dt><a name="installing_requirements" href="installing.html#requirements">Hardware &amp; software requirements</a></dt>
<dd><a name="installing_computer" href="installing.html#computer">Computer and operating system</a></dd>
<dd><a name="installing_compiler" href="installing.html#compiler">Prolog compiler</a></dd>
<dt><a name="installing_organization" href="installing.html#organization">Directories and files organization</a></dt>
<dd><a name="installing_configs" href="installing.html#configs">Configuration files</a></dd>
<dd><a name="installing_compiler" href="installing.html#compiler">Logtalk compiler and runtime</a></dd>
<dd><a name="installing_library" href="installing.html#library">Library</a></dd>
<dd><a name="installing_examples" href="installing.html#examples">Examples</a></dd>
<dd><a name="installing_entities" href="installing.html#entities">Logtalk source files</a></dd>
</dl>
<h2><a name="running" href="running.html">Running and debugging Logtalk programs</a></h2>
<dl>
<dt><a name="running_running" href="running.html#running">Running a Logtalk session</a></dt>
<dd><a name="running_starting" href="running.html#starting">Starting Logtalk</a></dd>
<dd><a name="running_compiling" href="running.html#compiling">Compiling and loading your programs</a></dd>
<dd><a name="running_options" href="running.html#options">Compiler option flags</a></dd>
<dd><a name="running_smart" href="running.html#smart">Smart compilation of source files</a></dd>
<dt><a name="running_batch" href="running.html#batch">Using Logtalk for batch processing</a></dt>
<dt><a name="running_debugging" href="running.html#debugging">Debugging Logtalk programs</a></dt>
<dd><a name="running_debugmode" href="running.html#debugmode">Compiling objects in debug mode</a></dd>
<dd><a name="running_boxmodel" href="running.html#boxmodel">Logtalk Procedure Box model</a></dd>
<dd><a name="running_spypoints" href="running.html#spypoints">Defining spy points</a></dd>
<dd><a name="running_trace" href="running.html#trace">Tracing program execution</a></dd>
<dd><a name="running_debug" href="running.html#debug">Debugging using spy points</a></dd>
<dd><a name="running_commands" href="running.html#commands">Debugging commands</a></dd>
</dl>
<h2><a name="programming" href="programming.html">Programming in Logtalk</a></h2>
<dl>
<dt><a name="programming_writing" href="programming.html#writing">Writing programs</a></dt>
<dd><a name="programming_source_files" href="programming.html#source_files">Source files</a></dd>
<dd><a name="programming_source_metafiles" href="programming.html#source_metafiles">Source metafiles</a></dd>
<dd><a name="programming_loaders" href="programming.html#loaders">Loader utility files</a></dd>
<dd><a name="programming_libraries" href="programming.html#libraries">Libraries of source files</a></dd>
<dd><a name="programming_portability" href="programming.html#portability">Portable programs</a></dd>
<dd><a name="programming_errors" href="programming.html#errors">Avoiding common errors</a></dd>
<dt><a name="programming_scope" href="programming.html#scope">Logtalk scope</a></dt>
</dl>
<div class="navbottom">
<a href="../glossary.html">glossary</a>
</div>
<div class="copyright">
Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://www.logtalk.org">Logtalk.org</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: November 27, 2004</span></p>
</div>
</body>
</html>