Changeset 4497 for trunk/manuals

Show
Ignore:
Timestamp:
10/11/08 09:55:29 (3 months ago)
Author:
pmoura
Message:

Minor documentation improvements.

Location:
trunk/manuals
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • trunk/manuals/index.html

    r4494 r4497  
    3232    <div class="copyright"> 
    3333        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    34         <span>Last updated on: October 7, 2008</span> 
     34        <span>Last updated on: October 11, 2008</span> 
    3535    </div> 
    3636    <div class="navbottom"> 
  • trunk/manuals/refman/builtins/create_category4.html

    r4281 r4497  
    2626<pre>create_category(Identifier, Relations, Directives, Clauses)</pre> 
    2727<p> 
    28 Creates a new, dynamic category. 
     28Creates a new, dynamic category. This predicate is often used as a primitive to implement high-level category creation methods. 
    2929</p> 
    3030 
     
    6464    <div class="copyright"> 
    6565        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    66         <span>Last updated on: May 23, 2008</span> 
     66        <span>Last updated on: October 7, 2008</span> 
    6767    </div> 
    6868    <div class="navbottom"> 
  • trunk/manuals/refman/builtins/create_object4.html

    r4494 r4497  
    2626<pre>create_object(Identifier, Relations, Directives, Clauses)</pre> 
    2727<p> 
    28 Creates a new, dynamic object. The word <a class="glossary" title="Go to glossary definition" href="../../glossary.html#object"><em>object</em></a> is used here as a generic term. This predicate can be used to create new prototypes, instances, and classes. This predicate is often used as a primitive to implement object creation methods.  
     28Creates a new, dynamic object. The word <a class="glossary" title="Go to glossary definition" href="../../glossary.html#object"><em>object</em></a> is used here as a generic term. This predicate can be used to create new prototypes, instances, and classes. This predicate is often used as a primitive to implement high-level object creation methods.  
    2929</p> 
    3030 
  • trunk/manuals/refman/builtins/create_protocol3.html

    r4279 r4497  
    2626<pre>create_protocol(Identifier, Relations, Directives)</pre> 
    2727<p> 
    28 Creates a new, dynamic protocol. 
     28Creates a new, dynamic protocol. This predicate is often used as a primitive to implement high-level protocol creation methods. 
    2929</p> 
    3030 
     
    6161    <div class="copyright"> 
    6262        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    63         <span>Last updated on: May 23, 2008</span> 
     63        <span>Last updated on: October 7, 2008</span> 
    6464    </div> 
    6565    <div class="navbottom"> 
  • trunk/manuals/refman/refman.sh

    r4466 r4497  
    1111## ================================================================ 
    1212 
    13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_5_2.jar 
     13css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_6.jar 
    1414 
    1515xslt_proc=xsltproc 
  • trunk/manuals/userman/index.html

    r4481 r4497  
    304304    <div class="copyright"> 
    305305        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/> 
    306         <span>Last updated on: October 4, 2008</span> 
     306        <span>Last updated on: October 11, 2008</span> 
    307307    </div> 
    308308    <div class="navbottom"> 
  • trunk/manuals/userman/inheritance.html

    r4361 r4497  
    2525The inheritance mechanisms found on object-oriented programming languages allow us the specialization of previously defined objects, avoiding the unnecessary repetition of code. In the context of logic programming, we can interpret inheritance as a form of theory extension: an object will virtually contain, besides its own predicates, all the predicates inherited from other objects that are not redefined by itself. 
    2626</p> 
     27<p> 
     28Logtalk uses a depth-first lookup procedure for finding predicate declarations and predicate definitions, as explained below. The <a title="Consult reference manual" href="../refman/directives/alias3.html"><code>alias/3</code></a> predicate directive may be used to solve inheritance conflicts and for defining alternative names for inherited predicates. 
     29</p> 
    2730 
    2831<h2 id="inheritance_protocol">Protocol inheritance</h2> 
     
    3538 
    3639<p> 
    37 The search order for predicate declarations is first the object, second the implemented protocols (and the protocols that these may extend), third the imported categories (and the protocols that they may implement), and last the objects that the object extends. This search is performed in a depth-first way. When an object inherits two different declarations for the same predicate, by default only the first one will be considered. 
     40The search order for predicate declarations is first the object, second the implemented protocols (and the protocols that these may extend), third the imported categories (and the protocols that they may implement), and last the objects that the object extends. This search is performed in a depth-first way. When an object inherits two different declarations for the same predicate, by default, only the first one will be considered. 
    3841</p> 
    3942 
     
    251254    <div class="copyright"> 
    252255        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    253         <span>Last updated on: February 13, 2007</span> 
     256        <span>Last updated on: October 11, 2008</span> 
    254257    </div> 
    255258    <div class="navbottom"> 
  • trunk/manuals/userman/predicates.html

    r4386 r4497  
    148148<pre>:- dynamic(foo/1).</pre> 
    149149<p> 
    150 This directive may also be used to declare dynamic grammar rule non-terminals. As each Logtalk entity is compiled independently from other entities, this directive must be included in every object that contains a definition for the described predicate (even if the predicate declaration is inherited from other object or imported from a category). 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. 
     150This directive may also be used to declare dynamic grammar rule non-terminals. As each Logtalk entity is compiled independently from other entities, this directive must be included in every object that contains a definition for the described predicate (even if the predicate declaration is inherited from other object or imported from a category). If we omit the dynamic declaration then the predicate definition will be compiled static. In the case of dynamic objects, static predicates cannot be redefined using the database built-in methods (despite being internally compiled to dynamic code). 
     151</p> 
     152<p> 
     153Note that static objects may declare and define dynamic predicates. 
    151154</p> 
    152155 
     
    676679    <div class="copyright"> 
    677680        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    678         <span>Last updated on: July 17, 2008</span> 
     681        <span>Last updated on: October 11, 2008</span> 
    679682    </div> 
    680683    <div class="navbottom"> 
  • trunk/manuals/userman/userman.header

    r4481 r4497  
    3636        <span>http://logtalk.org/</span> 
    3737    </p> 
    38     <p class="date">Last updated on October 4, 2008</p> 
     38    <p class="date">Last updated on October 11, 2008</p> 
    3939</div> 
    4040 
  • trunk/manuals/userman/userman.sh

    r4466 r4497  
    1111## ================================================================ 
    1212 
    13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_5_2.jar 
     13css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_6.jar 
    1414 
    1515xslt_proc=xsltproc