36a326908c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
304 lines
33 KiB
HTML
304 lines
33 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="content-type" content="application/xml+xhtml; charset=utf-8" />
|
|
<title>Logtalk: User Manual</title>
|
|
<link rel="stylesheet" href="../screen.css" type="text/css" media="screen"/>
|
|
<link rel="stylesheet" href="../print.css" type="text/css" media="print"/>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="top-left">Logtalk user manual</div>
|
|
<div class="top-right">Index</div>
|
|
<div class="bottom-left"><span class="page"/></div>
|
|
<div class="bottom-right"><span class="page"/></div>
|
|
<div class="navtop"><a href="../index.html">contents</a></div>
|
|
|
|
<h1>User Manual</h1>
|
|
|
|
<ul class="toc-entries">
|
|
<li><a href="#features">Logtalk features</a><span class="leader"/><span class="page-ref"><span class="features_features"/></span></li>
|
|
<li><a href="#nomenclature">Logtalk nomenclature</a><span class="leader"/><span class="page-ref"><span class="nomenclature_nomenclature"/></span></li>
|
|
</ul>
|
|
<ul class="toc-entries">
|
|
<li><a href="#messages">Message sending</a><span class="leader"/><span class="page-ref"><span class="messages_messages"/></span></li>
|
|
<li><a href="#objects">Objects</a><span class="leader"/><span class="page-ref"><span class="objects_objects"/></span></li>
|
|
<li><a href="#protocols">Protocols</a><span class="leader"/><span class="page-ref"><span class="protocols_protocols"/></span></li>
|
|
<li><a href="#categories">Categories</a><span class="leader"/><span class="page-ref"><span class="categories_categories"/></span></li>
|
|
<li><a href="#predicates">Predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_predicates"/></span></li>
|
|
<li><a href="#inheritance">Inheritance</a><span class="leader"/><span class="page-ref"><span class="inheritance_inheritance"/></span></li>
|
|
<li><a href="#events">Event-driven programming</a><span class="leader"/><span class="page-ref"><span class="events_events"/></span></li>
|
|
<li><a href="#threads">Multi-threading programming</a><span class="leader"/><span class="page-ref"><span class="threads_threads"/></span></li>
|
|
<li><a href="#errors">Error handling</a><span class="leader"/><span class="page-ref"><span class="errors_errors"/></span></li>
|
|
</ul>
|
|
<ul class="toc-entries">
|
|
<li><a href="#documenting">Documenting Logtalk programs</a><span class="leader"/><span class="page-ref"><span class="documenting_documenting"/></span></li>
|
|
</ul>
|
|
<ul class="toc-entries">
|
|
<li><a href="#installing">Installing Logtalk</a><span class="leader"/><span class="page-ref"><span class="installing_installing"/></span></li>
|
|
<li><a href="#running">Running and debugging Logtalk programs</a><span class="leader"/><span class="page-ref"><span class="running_running"/></span></li>
|
|
<li><a href="#programming">Programming in Logtalk</a><span class="leader"/><span class="page-ref"><span class="programming_programming"/></span></li>
|
|
</ul>
|
|
|
|
<h2><a id="features" href="features.html">Logtalk features</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="features.html#features_logic">Integration of logic and object-oriented programming</a><span class="leader"/><span class="page-ref"><span class="features_logic"/></span></dt>
|
|
<dt><a href="features.html#features_events">Integration of event-driven and object-oriented programming</a><span class="leader"/><span class="page-ref"><span class="features_events"/></span></dt>
|
|
<dt><a href="features.html#features_categories">Support for component-based programming</a><span class="leader"/><span class="page-ref"><span class="features_categories"/></span></dt>
|
|
<dt><a href="features.html#features_both">Support for both prototype and class-based systems</a><span class="leader"/><span class="page-ref"><span class="features_both"/></span></dt>
|
|
<dt><a href="features.html#features_multiple">Support for multiple object hierarchies</a><span class="leader"/><span class="page-ref"><span class="features_multiple"/></span></dt>
|
|
<dt><a href="features.html#features_interface">Separation between interface and implementation</a><span class="leader"/><span class="page-ref"><span class="features_interface"/></span></dt>
|
|
<dt><a href="features.html#features_inheritance">Private, protected, and public inheritance</a><span class="leader"/><span class="page-ref"><span class="features_inheritance"/></span></dt>
|
|
<dt><a href="features.html#features_predicates">Private, protected, and public object predicates</a><span class="leader"/><span class="page-ref"><span class="features_predicates"/></span></dt>
|
|
<dt><a href="features.html#features_parametric">Parametric objects</a><span class="leader"/><span class="page-ref"><span class="features_parametric"/></span></dt>
|
|
<dt><a href="features.html#features_learning">Smooth learning curve</a><span class="leader"/><span class="page-ref"><span class="features_learning"/></span></dt>
|
|
<dt><a href="features.html#features_compatibility">Compatibility with most Prologs and the ISO standard</a><span class="leader"/><span class="page-ref"><span class="features_compatibility"/></span></dt>
|
|
<dt><a href="features.html#features_performance">Performance</a><span class="leader"/><span class="page-ref"><span class="features_performance"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="nomenclature" href="nomenclature.html">Logtalk nomenclature</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="nomenclature.html#nomenclature_cpp">C++ nomenclature</a><span class="leader"/><span class="page-ref"><span class="nomenclature_cpp"/></span></dt>
|
|
<dt><a href="nomenclature.html#nomenclature_java">Java nomenclature</a><span class="leader"/><span class="page-ref"><span class="nomenclature_java"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="messages" href="messages.html">Message sending</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="messages.html#messages_operators">Operators used in message sending</a><span class="leader"/><span class="page-ref"><span class="messages_operators"/></span></dt>
|
|
<dt><a href="messages.html#messages_sending">Sending a message to an object</a><span class="leader"/><span class="page-ref"><span class="messages_sending"/></span></dt>
|
|
<dt><a href="messages.html#messages_broadcasting">Broadcasting</a><span class="leader"/><span class="page-ref"><span class="messages_broadcasting"/></span></dt>
|
|
<dt><a href="messages.html#messages_self">Sending a message to <em>self</em></a><span class="leader"/><span class="page-ref"><span class="messages_self"/></span></dt>
|
|
<dt><a href="messages.html#messages_super">Calling an overridden predicate definition</a><span class="leader"/><span class="page-ref"><span class="messages_super"/></span></dt>
|
|
<dt><a href="messages.html#messages_events">Message sending and event generation</a><span class="leader"/><span class="page-ref"><span class="messages_events"/></span></dt>
|
|
<dt><a href="messages.html#messages_performance">Message sending performance</a><span class="leader"/><span class="page-ref"><span class="messages_performance"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="objects" href="objects.html">Objects</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="objects.html#objects_kind">Objects, prototypes, classes, and instances</a><span class="leader"/><span class="page-ref"><span class="objects_kind"/></span></dt>
|
|
<dt><a href="objects.html#objects_defining">Defining a new object</a><span class="leader"/><span class="page-ref"><span class="objects_defining"/></span></dt>
|
|
<dt><a href="objects.html#objects_parametric">Parametric objects</a><span class="leader"/><span class="page-ref"><span class="objects_parametric"/></span></dt>
|
|
<dt><a href="objects.html#objects_finding">Finding defined objects</a><span class="leader"/><span class="page-ref"><span class="objects_finding"/></span></dt>
|
|
<dt><a href="objects.html#objects_creating">Creating a new object in runtime</a><span class="leader"/><span class="page-ref"><span class="objects_creating"/></span></dt>
|
|
<dt><a href="objects.html#objects_abolishing">Abolishing an existing object</a><span class="leader"/><span class="page-ref"><span class="objects_abolishing"/></span></dt>
|
|
<dt><a href="objects.html#objects_directives">Object directives</a><span class="leader"/><span class="page-ref"><span class="objects_directives"/></span></dt>
|
|
<dd><a href="objects.html#objects_initialization">Object initialization</a><span class="leader"/><span class="page-ref"><span class="objects_initialization"/></span></dd>
|
|
<dd><a href="objects.html#objects_dynamic">Dynamic objects</a><span class="leader"/><span class="page-ref"><span class="objects_dynamic"/></span></dd>
|
|
<dd><a href="objects.html#objects_dependencies">Object dependencies</a><span class="leader"/><span class="page-ref"><span class="objects_dependencies"/></span></dd>
|
|
<dd><a href="objects.html#objects_documentation">Object documentation</a><span class="leader"/><span class="page-ref"><span class="objects_documentation"/></span></dd>
|
|
<dt><a href="objects.html#objects_relationships">Object relationships</a><span class="leader"/><span class="page-ref"><span class="objects_relationships"/></span></dt>
|
|
<dt><a href="objects.html#objects_properties">Object properties</a><span class="leader"/><span class="page-ref"><span class="objects_properties"/></span></dt>
|
|
<dt><a href="objects.html#objects_user">The pseudo-object user</a><span class="leader"/><span class="page-ref"><span class="objects_user"/></span></dt>
|
|
<dt><a href="objects.html#objects_debugger">The pseudo-object debugger</a><span class="leader"/><span class="page-ref"><span class="objects_debugger"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="protocols" href="protocols.html">Protocols</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="protocols.html#protocols_defining">Defining a new protocol</a><span class="leader"/><span class="page-ref"><span class="protocols_defining"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_finding">Finding defined protocols</a><span class="leader"/><span class="page-ref"><span class="protocols_finding"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_creating">Creating a new protocol in runtime</a><span class="leader"/><span class="page-ref"><span class="protocols_creating"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_abolishing">Abolishing an existing protocol</a><span class="leader"/><span class="page-ref"><span class="protocols_abolishing"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_directives">Protocol directives</a><span class="leader"/><span class="page-ref"><span class="protocols_directives"/></span></dt>
|
|
<dd><a href="protocols.html#protocols_initialization">Protocol initialization</a><span class="leader"/><span class="page-ref"><span class="protocols_initialization"/></span></dd>
|
|
<dd><a href="protocols.html#protocols_dynamic">Dynamic protocols</a><span class="leader"/><span class="page-ref"><span class="protocols_dynamic"/></span></dd>
|
|
<dd><a href="protocols.html#protocols_documentation">Protocol documentation</a><span class="leader"/><span class="page-ref"><span class="protocols_documentation"/></span></dd>
|
|
<dt><a href="protocols.html#protocols_relationships">Protocol relationships</a><span class="leader"/><span class="page-ref"><span class="protocols_relationships"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_properties">Protocol properties</a><span class="leader"/><span class="page-ref"><span class="protocols_properties"/></span></dt>
|
|
<dt><a href="protocols.html#protocols_implementing">Implementing protocols</a><span class="leader"/><span class="page-ref"><span class="protocols_implementing"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="categories" href="categories.html">Categories</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="categories.html#categories_defining">Defining a new category</a><span class="leader"/><span class="page-ref"><span class="categories_defining"/></span></dt>
|
|
<dt><a href="categories.html#categories_finding">Finding defined categories</a><span class="leader"/><span class="page-ref"><span class="categories_finding"/></span></dt>
|
|
<dt><a href="categories.html#categories_creating">Creating a new category in runtime</a><span class="leader"/><span class="page-ref"><span class="categories_creating"/></span></dt>
|
|
<dt><a href="categories.html#categories_abolishing">Abolishing an existing category</a><span class="leader"/><span class="page-ref"><span class="categories_abolishing"/></span></dt>
|
|
<dt><a href="categories.html#categories_directives">Category directives</a><span class="leader"/><span class="page-ref"><span class="categories_directives"/></span></dt>
|
|
<dd><a href="categories.html#categories_initialization">Category initialization</a><span class="leader"/><span class="page-ref"><span class="categories_initialization"/></span></dd>
|
|
<dd><a href="categories.html#categories_dynamic">Dynamic categories</a><span class="leader"/><span class="page-ref"><span class="categories_dynamic"/></span></dd>
|
|
<dd><a href="categories.html#categories_dependencies">Category dependencies</a><span class="leader"/><span class="page-ref"><span class="categories_dependencies"/></span></dd>
|
|
<dd><a href="categories.html#categories_documentation">Category documentation</a><span class="leader"/><span class="page-ref"><span class="categories_documentation"/></span></dd>
|
|
<dt><a href="categories.html#categories_relationships">Category relationships</a><span class="leader"/><span class="page-ref"><span class="categories_relationships"/></span></dt>
|
|
<dt><a href="categories.html#categories_properties">Category properties</a><span class="leader"/><span class="page-ref"><span class="categories_properties"/></span></dt>
|
|
<dt><a href="categories.html#categories_importing">Importing categories</a><span class="leader"/><span class="page-ref"><span class="categories_importing"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="predicates" href="predicates.html">Predicates</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="predicates.html#predicates_declaring">Declaring predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_declaring"/></span></dt>
|
|
<dd><a href="predicates.html#predicates_scope">Scope directives</a><span class="leader"/><span class="page-ref"><span class="predicates_scope"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_mode">Mode directive</a><span class="leader"/><span class="page-ref"><span class="predicates_mode"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_meta">Meta-predicate directive</a><span class="leader"/><span class="page-ref"><span class="predicates_meta"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_discontiguous">Discontiguous directive</a><span class="leader"/><span class="page-ref"><span class="predicates_discontiguous"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_dynamic">Dynamic directive</a><span class="leader"/><span class="page-ref"><span class="predicates_dynamic"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_op">Operator directive</a><span class="leader"/><span class="page-ref"><span class="predicates_op"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_uses">Uses directive</a><span class="leader"/><span class="page-ref"><span class="predicates_uses"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_alias">Alias directive</a><span class="leader"/><span class="page-ref"><span class="predicates_alias"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_info">Documenting directive</a><span class="leader"/><span class="page-ref"><span class="predicates_info"/></span></dd>
|
|
<dt><a href="predicates.html#predicates_defining">Defining predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_defining"/></span></dt>
|
|
<dd><a href="predicates.html#predicates_objects">Object predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_objects"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_categories">Category predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_categories"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_metadef">Meta-predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_metadef"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_dcgs">Definite clause grammars</a><span class="leader"/><span class="page-ref"><span class="predicates_dcgs"/></span></dd>
|
|
<dt><a href="predicates.html#predicates_methods">Built-in object predicates (methods)</a><span class="leader"/><span class="page-ref"><span class="predicates_methods"/></span></dt>
|
|
<dd><a href="predicates.html#predicates_context">Execution context methods</a><span class="leader"/><span class="page-ref"><span class="predicates_context"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_database">Database methods</a><span class="leader"/><span class="page-ref"><span class="predicates_database"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_metacalls">Meta-call methods</a><span class="leader"/><span class="page-ref"><span class="predicates_metacalls"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_solutions">All solutions methods</a><span class="leader"/><span class="page-ref"><span class="predicates_solutions"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_reflection">Reflection methods</a><span class="leader"/><span class="page-ref"><span class="predicates_reflection"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_parsing">Definite clause grammar parsing methods</a><span class="leader"/><span class="page-ref"><span class="predicates_parsing"/></span></dd>
|
|
<dd><a href="predicates.html#predicates_expanding">Term expansion methods</a><span class="leader"/><span class="page-ref"><span class="predicates_expanding"/></span></dd>
|
|
<dt><a href="predicates.html#predicates_properties">Predicate properties</a><span class="leader"/><span class="page-ref"><span class="predicates_properties"/></span></dt>
|
|
<dt><a href="predicates.html#predicates_finding">Finding declared predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_finding"/></span></dt>
|
|
<dt><a href="predicates.html#predicates_prolog">Calling Prolog built-in predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_prolog"/></span></dt>
|
|
<dd><a href="predicates.html#predicates_prolog_meta">Calling Prolog non-standard meta-predicates</a><span class="leader"/><span class="page-ref"><span class="predicates_prolog_meta"/></span></dd>
|
|
</dl>
|
|
|
|
<h2><a id="inheritance" href="inheritance.html">Inheritance</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="inheritance.html#inheritance_protocol">Protocol inheritance</a><span class="leader"/><span class="page-ref"><span class="inheritance_protocol"/></span></dt>
|
|
<dd><a href="inheritance.html#inheritance_protocol_prototype">Search order for prototype hierarchies</a><span class="leader"/><span class="page-ref"><span class="inheritance_protocol_prototype"/></span></dd>
|
|
<dd><a href="inheritance.html#inheritance_protocol_class">Search order for class hierarchies</a><span class="leader"/><span class="page-ref"><span class="inheritance_protocol_class"/></span></dd>
|
|
<dt><a href="inheritance.html#inheritance_implementation">Implementation inheritance</a><span class="leader"/><span class="page-ref"><span class="inheritance_implementation"/></span></dt>
|
|
<dd><a href="inheritance.html#inheritance_implementation_prototype">Search order for prototype hierarchies</a><span class="leader"/><span class="page-ref"><span class="inheritance_implementation_prototype"/></span></dd>
|
|
<dd><a href="inheritance.html#inheritance_implementation_class">Search order for class hierarchies</a><span class="leader"/><span class="page-ref"><span class="inheritance_implementation_class"/></span></dd>
|
|
<dd><a href="inheritance.html#inheritance_implementation_redefinition">Inheritance versus predicate redefinition</a><span class="leader"/><span class="page-ref"><span class="inheritance_implementation_redefinition"/></span></dd>
|
|
<dt><a href="inheritance.html#inheritance_types">Public, protected, and private inheritance</a><span class="leader"/><span class="page-ref"><span class="inheritance_types"/></span></dt>
|
|
<dt><a href="inheritance.html#inheritance_composition">Composition versus multiple inheritance</a><span class="leader"/><span class="page-ref"><span class="inheritance_composition"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="events" href="events.html">Event-driven programming</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="events.html#events_definitions">Definitions</a><span class="leader"/><span class="page-ref"><span class="events_definitions"/></span></dt>
|
|
<dd><a href="events.html#events_event">Event</a><span class="leader"/><span class="page-ref"><span class="events_event"/></span></dd>
|
|
<dd><a href="events.html#events_monitor">Monitor</a><span class="leader"/><span class="page-ref"><span class="events_monitor"/></span></dd>
|
|
<dt><a href="events.html#events_generation">Event generation</a><span class="leader"/><span class="page-ref"><span class="events_generation"/></span></dt>
|
|
<dt><a href="events.html#events_communicating">Communicating events to monitors</a><span class="leader"/><span class="page-ref"><span class="events_communicating"/></span></dt>
|
|
<dt><a href="events.html#events_performance">Performance concerns</a><span class="leader"/><span class="page-ref"><span class="events_performance"/></span></dt>
|
|
<dt><a href="events.html#events_semantics">Monitor semantics</a><span class="leader"/><span class="page-ref"><span class="events_semantics"/></span></dt>
|
|
<dt><a href="events.html#events_order">Activation order of monitors</a><span class="leader"/><span class="page-ref"><span class="events_order"/></span></dt>
|
|
<dt><a href="events.html#events_handling">Event handling</a><span class="leader"/><span class="page-ref"><span class="events_handling"/></span></dt>
|
|
<dd><a href="events.html#events_finding">Finding defined events</a><span class="leader"/><span class="page-ref"><span class="events_finding"/></span></dd>
|
|
<dd><a href="events.html#events_defining">Defining new events</a><span class="leader"/><span class="page-ref"><span class="events_defining"/></span></dd>
|
|
<dd><a href="events.html#events_abolishing">Abolishing defined events</a><span class="leader"/><span class="page-ref"><span class="events_abolishing"/></span></dd>
|
|
<dd><a href="events.html#events_handlers">Defining event handlers</a><span class="leader"/><span class="page-ref"><span class="events_handlers"/></span></dd>
|
|
</dl>
|
|
|
|
<h2><a id="threads" href="threads.html">Multi-threading programming</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="threads.html#threads_enabling">Enabling multi-threading support</a><span class="leader"/><span class="page-ref"><span class="threads_enabling"/></span></dt>
|
|
<dt><a href="threads.html#threads_directive">Object threads</a><span class="leader"/><span class="page-ref"><span class="threads_directive"/></span></dt>
|
|
<dt><a href="threads.html#threads_builtins">Multi-threading built-in predicates</a><span class="leader"/><span class="page-ref"><span class="threads_builtins"/></span></dt>
|
|
<dd><a href="threads.html#threads_call">Proving goals asynchronously using threads</a><span class="leader"/><span class="page-ref"><span class="threads_call"/></span></dd>
|
|
<dd><a href="threads.html#threads_exit">Retriving asynchronous goal proof results</a><span class="leader"/><span class="page-ref"><span class="threads_exit"/></span></dd>
|
|
<dd><a href="threads.html#threads_noreply">One-way asynchronous calls</a><span class="leader"/><span class="page-ref"><span class="threads_noreply"/></span></dd>
|
|
<dd><a href="threads.html#threads_atomic_goals">Atomic goals and asynchronous calls</a><span class="leader"/><span class="page-ref"><span class="threads_atomic_goals"/></span></dd>
|
|
<dt><a href="threads.html#threads_competing">Competing goals</a><span class="leader"/><span class="page-ref"><span class="threads_competing"/></span></dt>
|
|
<dt><a href="threads.html#threads_atomic_predicates">Atomic predicates</a><span class="leader"/><span class="page-ref"><span class="threads_atomic_predicates"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="errors" href="errors.html">Error handling</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="errors.html#errors_compiler">Compiler warnings and errors</a><span class="leader"/><span class="page-ref"><span class="errors_compiler"/></span></dt>
|
|
<dd><a href="errors.html#errors_wunknown">Unknown entities</a><span class="leader"/><span class="page-ref"><span class="errors_wunknown"/></span></dd>
|
|
<dd><a href="errors.html#errors_wsingletons">Singleton variables</a><span class="leader"/><span class="page-ref"><span class="errors_wsingletons"/></span></dd>
|
|
<dd><a href="errors.html#errors_wprolog">Redefinition of Prolog built-in predicates</a><span class="leader"/><span class="page-ref"><span class="errors_wprolog"/></span></dd>
|
|
<dd><a href="errors.html#errors_wpredicates">Redefinition of Logtalk built-in predicates</a><span class="leader"/><span class="page-ref"><span class="errors_wpredicates"/></span></dd>
|
|
<dd><a href="errors.html#errors_wmethods">Redefinition of Logtalk built-in methods</a><span class="leader"/><span class="page-ref"><span class="errors_wmethods"/></span></dd>
|
|
<dd><a href="errors.html#errors_wmisspell">Misspell calls of local predicates</a><span class="leader"/><span class="page-ref"><span class="errors_wmisspell"/></span></dd>
|
|
<dd><a href="errors.html#errors_wportability">Portability warnings</a><span class="leader"/><span class="page-ref"><span class="errors_wportability"/></span></dd>
|
|
<dd><a href="errors.html#errors_wothers">Other warnings and errors</a><span class="leader"/><span class="page-ref"><span class="errors_wothers"/></span></dd>
|
|
<dt><a href="errors.html#errors_runtime">Runtime errors</a><span class="leader"/><span class="page-ref"><span class="errors_runtime"/></span></dt>
|
|
<dd><a href="errors.html#errors_predicates">Logtalk built-in predicates</a><span class="leader"/><span class="page-ref"><span class="errors_predicates"/></span></dd>
|
|
<dd><a href="errors.html#errors_methods">Logtalk built-in methods</a><span class="leader"/><span class="page-ref"><span class="errors_methods"/></span></dd>
|
|
<dd><a href="errors.html#errors_sending">Message sending</a><span class="leader"/><span class="page-ref"><span class="errors_sending"/></span></dd>
|
|
</dl>
|
|
|
|
<h2><a id="documenting" href="documenting.html">Documenting Logtalk programs</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="documenting.html#documenting_directives">Documenting directives</a><span class="leader"/><span class="page-ref"><span class="documenting_directives"/></span></dt>
|
|
<dd><a href="documenting.html#documenting_entity">Entity directives</a><span class="leader"/><span class="page-ref"><span class="documenting_entity"/></span></dd>
|
|
<dd><a href="documenting.html#documenting_predicate">Predicate directives</a><span class="leader"/><span class="page-ref"><span class="documenting_predicate"/></span></dd>
|
|
<dt><a href="documenting.html#documenting_processing">Processing and viewing documenting files</a><span class="leader"/><span class="page-ref"><span class="documenting_processing"/></span></dt>
|
|
</dl>
|
|
|
|
<h2><a id="installing" href="installing.html">Installing Logtalk</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="installing.html#installing_installing">Installing Logtalk</a><span class="leader"/><span class="page-ref"><span class="installing_installing"/></span></dt>
|
|
<dt><a href="installing.html#installing_requirements">Hardware & software requirements</a><span class="leader"/><span class="page-ref"><span class="installing_requirements"/></span></dt>
|
|
<dd><a href="installing.html#installing_computer">Computer and operating system</a><span class="leader"/><span class="page-ref"><span class="installing_computer"/></span></dd>
|
|
<dd><a href="installing.html#installing_compiler">Prolog compiler</a><span class="leader"/><span class="page-ref"><span class="installing_compiler"/></span></dd>
|
|
<dt><a href="installing.html#installing_installers">Logtalk installers</a><span class="leader"/><span class="page-ref"><span class="installing_installers"/></span></dt>
|
|
<dt><a href="installing.html#installing_sources">Source distribution</a><span class="leader"/><span class="page-ref"><span class="installing_sources"/></span></dt>
|
|
<dt><a href="installing.html#installing_organization">Directories and files organization</a><span class="leader"/><span class="page-ref"><span class="installing_organization"/></span></dt>
|
|
<dd><a href="installing.html#installing_configs">Configuration files</a><span class="leader"/><span class="page-ref"><span class="installing_configs"/></span></dd>
|
|
<dd><a href="installing.html#installing_runtime">Logtalk compiler and runtime</a><span class="leader"/><span class="page-ref"><span class="installing_runtime"/></span></dd>
|
|
<dd><a href="installing.html#installing_library">Library</a><span class="leader"/><span class="page-ref"><span class="installing_library"/></span></dd>
|
|
<dd><a href="installing.html#installing_examples">Examples</a><span class="leader"/><span class="page-ref"><span class="installing_examples"/></span></dd>
|
|
<dd><a href="installing.html#installing_entities">Logtalk source files</a><span class="leader"/><span class="page-ref"><span class="installing_entities"/></span></dd>
|
|
</dl>
|
|
|
|
<h2><a id="running" href="running.html">Running and debugging Logtalk programs</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="running.html#running_session">Running a Logtalk session</a><span class="leader"/><span class="page-ref"><span class="running_session"/></span></dt>
|
|
<dd><a href="running.html#running_starting">Starting Logtalk</a><span class="leader"/><span class="page-ref"><span class="running_starting"/></span></dd>
|
|
<dd><a href="running.html#running_compiling">Compiling and loading your programs</a><span class="leader"/><span class="page-ref"><span class="running_compiling"/></span></dd>
|
|
<dd><a href="running.html#running_flags">Compiler flags</a><span class="leader"/><span class="page-ref"><span class="running_flags"/></span></dd>
|
|
<dd><a href="running.html#running_smart">Smart compilation of source files</a><span class="leader"/><span class="page-ref"><span class="running_smart"/></span></dd>
|
|
<dt><a href="running.html#running_batch">Using Logtalk for batch processing</a><span class="leader"/><span class="page-ref"><span class="running_batch"/></span></dt>
|
|
<dt><a href="running.html#running_debugging">Debugging Logtalk programs</a><span class="leader"/><span class="page-ref"><span class="running_debugging"/></span></dt>
|
|
<dd><a href="running.html#running_debugmode">Compiling objects in debug mode</a><span class="leader"/><span class="page-ref"><span class="running_debugmode"/></span></dd>
|
|
<dd><a href="running.html#running_boxmodel">Logtalk Procedure Box model</a><span class="leader"/><span class="page-ref"><span class="running_boxmodel"/></span></dd>
|
|
<dd><a href="running.html#running_spypoints">Defining spy points</a><span class="leader"/><span class="page-ref"><span class="running_spypoints"/></span></dd>
|
|
<dd><a href="running.html#running_trace">Tracing program execution</a><span class="leader"/><span class="page-ref"><span class="running_trace"/></span></dd>
|
|
<dd><a href="running.html#running_debug">Debugging using spy points</a><span class="leader"/><span class="page-ref"><span class="running_debug"/></span></dd>
|
|
<dd><a href="running.html#running_commands">Debugging commands</a><span class="leader"/><span class="page-ref"><span class="running_commands"/></span></dd>
|
|
</dl>
|
|
|
|
<h2><a id="programming" href="programming.html">Programming in Logtalk</a></h2>
|
|
|
|
<dl class="toc-entries">
|
|
<dt><a href="programming.html#programming_writing">Writing programs</a><span class="leader"/><span class="page-ref"><span class="programming_writing"/></span></dt>
|
|
<dd><a href="programming.html#programming_source_files">Source files</a><span class="leader"/><span class="page-ref"><span class="programming_source_files"/></span></dd>
|
|
<dd><a href="programming.html#programming_loaders">Loader utility files</a><span class="leader"/><span class="page-ref"><span class="programming_loaders"/></span></dd>
|
|
<dd><a href="programming.html#programming_libraries">Libraries of source files</a><span class="leader"/><span class="page-ref"><span class="programming_libraries"/></span></dd>
|
|
<dd><a href="programming.html#programming_portability">Portable programs</a><span class="leader"/><span class="page-ref"><span class="programming_portability"/></span></dd>
|
|
<dd><a href="programming.html#programming_errors">Avoiding common errors</a><span class="leader"/><span class="page-ref"><span class="programming_errors"/></span></dd>
|
|
<dd><a href="programming.html#programming_style">Coding style guidlines</a><span class="leader"/><span class="page-ref"><span class="programming_style"/></span></dd>
|
|
<dt><a href="programming.html#programming_scope">Logtalk scope</a><span class="leader"/><span class="page-ref"><span class="programming_scope"/></span></dt>
|
|
</dl>
|
|
|
|
<div class="footer">
|
|
<div class="copyright">
|
|
<span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/>
|
|
<span>Last updated on: October 26, 2006</span>
|
|
</div>
|
|
<div class="navbottom">
|
|
<span><a href="../glossary.html">glossary</a></span><br/>
|
|
<span><a href="http://validator.w3.org/check/referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|