Changeset 4497 for trunk/manuals
- Timestamp:
- 10/11/08 09:55:29 (3 months ago)
- Location:
- trunk/manuals
- Files:
-
- 10 modified
-
index.html (modified) (1 diff)
-
refman/builtins/create_category4.html (modified) (2 diffs)
-
refman/builtins/create_object4.html (modified) (1 diff)
-
refman/builtins/create_protocol3.html (modified) (2 diffs)
-
refman/refman.sh (modified) (1 diff)
-
userman/index.html (modified) (1 diff)
-
userman/inheritance.html (modified) (3 diffs)
-
userman/predicates.html (modified) (2 diffs)
-
userman/userman.header (modified) (1 diff)
-
userman/userman.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/index.html
r4494 r4497 32 32 <div class="copyright"> 33 33 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 35 35 </div> 36 36 <div class="navbottom"> -
trunk/manuals/refman/builtins/create_category4.html
r4281 r4497 26 26 <pre>create_category(Identifier, Relations, Directives, Clauses)</pre> 27 27 <p> 28 Creates a new, dynamic category. 28 Creates a new, dynamic category. This predicate is often used as a primitive to implement high-level category creation methods. 29 29 </p> 30 30 … … 64 64 <div class="copyright"> 65 65 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 67 67 </div> 68 68 <div class="navbottom"> -
trunk/manuals/refman/builtins/create_object4.html
r4494 r4497 26 26 <pre>create_object(Identifier, Relations, Directives, Clauses)</pre> 27 27 <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.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 high-level object creation methods. 29 29 </p> 30 30 -
trunk/manuals/refman/builtins/create_protocol3.html
r4279 r4497 26 26 <pre>create_protocol(Identifier, Relations, Directives)</pre> 27 27 <p> 28 Creates a new, dynamic protocol. 28 Creates a new, dynamic protocol. This predicate is often used as a primitive to implement high-level protocol creation methods. 29 29 </p> 30 30 … … 61 61 <div class="copyright"> 62 62 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 64 64 </div> 65 65 <div class="navbottom"> -
trunk/manuals/refman/refman.sh
r4466 r4497 11 11 ## ================================================================ 12 12 13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_ 5_2.jar13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_6.jar 14 14 15 15 xslt_proc=xsltproc -
trunk/manuals/userman/index.html
r4481 r4497 304 304 <div class="copyright"> 305 305 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 307 307 </div> 308 308 <div class="navbottom"> -
trunk/manuals/userman/inheritance.html
r4361 r4497 25 25 The 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. 26 26 </p> 27 <p> 28 Logtalk 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> 27 30 28 31 <h2 id="inheritance_protocol">Protocol inheritance</h2> … … 35 38 36 39 <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.40 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. 38 41 </p> 39 42 … … 251 254 <div class="copyright"> 252 255 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 254 257 </div> 255 258 <div class="navbottom"> -
trunk/manuals/userman/predicates.html
r4386 r4497 148 148 <pre>:- dynamic(foo/1).</pre> 149 149 <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. 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 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> 153 Note that static objects may declare and define dynamic predicates. 151 154 </p> 152 155 … … 676 679 <div class="copyright"> 677 680 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <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> 679 682 </div> 680 683 <div class="navbottom"> -
trunk/manuals/userman/userman.header
r4481 r4497 36 36 <span>http://logtalk.org/</span> 37 37 </p> 38 <p class="date">Last updated on October 4, 2008</p>38 <p class="date">Last updated on October 11, 2008</p> 39 39 </div> 40 40 -
trunk/manuals/userman/userman.sh
r4466 r4497 11 11 ## ================================================================ 12 12 13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_ 5_2.jar13 css2xslfo=/Applications/XML/CSSToXSLFO/css2xslfo1_6.jar 14 14 15 15 xslt_proc=xsltproc
