Changeset 4277
- Timestamp:
- 05/24/08 17:36:12 (6 months ago)
- Location:
- trunk/manuals/refman
- Files:
-
- 7 modified
-
directives/category1_3.html (modified) (3 diffs)
-
directives/dynamic1.html (modified) (2 diffs)
-
directives/info1.html (modified) (2 diffs)
-
directives/info2.html (modified) (2 diffs)
-
directives/synchronized1.html (modified) (2 diffs)
-
grammar.html (modified) (10 diffs)
-
index.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/refman/directives/category1_3.html
r3560 r4277 28 28 category(Category, 29 29 implements(Protocols)) 30 30 31 31 category(Category, 32 imports(Categories)) 33 32 extends(Categories)) 33 34 category(Category, 35 complements(Objects)) 36 34 37 category(Category, 35 38 implements(Protocols), 36 imports(Categories))</pre> 39 extends(Categories), 40 complements(Objects)) 41 </pre> 37 42 <p> 38 43 Starting category directive. … … 47 52 48 53 category(+category_identifier, 49 imports(+imported_categories)) 54 extends(+extended_categories)) 55 56 category(+category_identifier, 57 complements(+complemented_objects)) 50 58 51 59 category(+category_identifier, 52 60 implements(+implemented_protocols), 53 imports(+imported_categories))</pre> 61 extends(+extended_categories), 62 complements(+complemented_objects))</pre> 54 63 55 64 … … 65 74 66 75 :- category(extended, 67 imports(minimal)).</pre> 76 extends(minimal)). 77 78 :- category(logging, 79 implements(monitoring), 80 complements(employee)).</pre> 68 81 69 82 <div class="footer"> 70 83 <div class="copyright"> 71 84 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 72 <span>Last updated on: October 26, 2006</span>85 <span>Last updated on: May 23, 2008</span> 73 86 </div> 74 87 <div class="navbottom"> -
trunk/manuals/refman/directives/dynamic1.html
r4125 r4277 32 32 dynamic([Functor1//Arity1, Functor2//Arity2, ...])</pre> 33 33 <p> 34 Declares dynamic predicates and dynamic grammar rule non-terminals. Note that an object can be static and have both static and dynamic predicates/non-terminals. Dynamic predicates cannot be declared as synchronized. 34 Declares dynamic predicates and dynamic grammar rule non-terminals. Note that an object can be static and have both static and dynamic predicates/non-terminals. Dynamic predicates cannot be declared as synchronized. When the dynamic predicates are local to an object, declaring them also as private predicates allows the Logtalk compiler to generated optimized code for asserting and retracting predicate clauses. 35 35 </p> 36 36 … … 52 52 <div class="copyright"> 53 53 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 54 <span>Last updated on: Ma rch 5, 2008</span>54 <span>Last updated on: May 23, 2008</span> 55 55 </div> 56 56 <div class="navbottom"> -
trunk/manuals/refman/directives/info1.html
r3560 r4277 26 26 <pre>info(List)</pre> 27 27 <p> 28 Documentation directive for objects, protocols, and categories.28 Documentation directive for objects, protocols, and categories. The directive argument is a list of pairs using the format <em>Key is Value</em>. 29 29 </p> 30 30 … … 45 45 <div class="copyright"> 46 46 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 47 <span>Last updated on: October 26, 2006</span>47 <span>Last updated on: May 23, 2008</span> 48 48 </div> 49 49 <div class="navbottom"> -
trunk/manuals/refman/directives/info2.html
r3560 r4277 27 27 info(Functor//Arity, List)</pre> 28 28 <p> 29 Documentation directive for predicates and grammar rule non-terminals. 29 Documentation directive for predicates and grammar rule non-terminals. The first argument is either a predicate indicator or a grammar rule non-terminal indicator. The second argument is a list of pairs using the format <em>Key is Value</em>. 30 30 </p> 31 31 … … 47 47 <div class="copyright"> 48 48 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 49 <span>Last updated on: October 26, 2006</span>49 <span>Last updated on: May 23, 2008</span> 50 50 </div> 51 51 <div class="navbottom"> -
trunk/manuals/refman/directives/synchronized1.html
r4125 r4277 35 35 </p> 36 36 <p> 37 Synchronized predicates are silently compiled as normal predicates when using back-end Prolog compilers that don't support multi-threading programming. Note that synchronized predicates cannot be declared dynamic .37 Synchronized predicates are silently compiled as normal predicates when using back-end Prolog compilers that don't support multi-threading programming. Note that synchronized predicates cannot be declared dynamic (when necessary, declare the predicates updating the dynamic predicates as synchronized). 38 38 </p> 39 39 … … 55 55 <div class="copyright"> 56 56 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 57 <span>Last updated on: Ma rch 5, 2008</span>57 <span>Last updated on: May 23, 2008</span> 58 58 </div> 59 59 <div class="navbottom"> -
trunk/manuals/refman/grammar.html
r4209 r4277 102 102 <dt>category_relation ::=</dt> 103 103 <dd>implements_protocols |</dd> 104 <dd>extends_categories</dd> 104 <dd>extends_categories |</dd> 105 <dd>complements_objects</dd> 105 106 </dl> 106 107 … … 151 152 <dt>specializes_classes ::=</dt> 152 153 <dd>"<code>specializes(</code>" specialized_objects "<code>)</code>"</dd> 154 </dl> 155 <dl> 156 <dt>complements_objects ::=</dt> 157 <dd>"<code>complements(</code>" complemented_objects "<code>)</code>"</dd> 153 158 </dl> 154 159 … … 174 179 <dd>"<code>[</code>" implemented_protocol_sequence "<code>]</code>"</dd> 175 180 </dl> 176 181 177 182 <h3 id="grammar_extended_protocols">Extended protocols</h3> 178 183 <dl> … … 196 201 <dd>"<code>[</code>" extended_protocol_sequence "<code>]</code>"</dd> 197 202 </dl> 198 203 199 204 <h3 id="grammar_imported_categories">Imported categories</h3> 200 205 <dl> … … 218 223 <dd>"<code>[</code>" imported_category_sequence "<code>]</code>"</dd> 219 224 </dl> 220 225 221 226 <h3 id="grammar_extended_objects">Extended objects</h3> 222 227 <dl> … … 240 245 <dd>"<code>[</code>" extended_object_sequence "<code>]</code>"</dd> 241 246 </dl> 242 247 243 248 <h3 id="grammar_extended_categories">Extended categories</h3> 244 249 <dl> … … 262 267 <dd>"<code>[</code>" extended_category_sequence "<code>]</code>"</dd> 263 268 </dl> 264 269 265 270 <h3 id="grammar_instantiated_objects">Instantiated objects</h3> 266 271 <dl> … … 284 289 <dd>"<code>[</code>" instantiated_object_sequence "<code>]</code>"</dd> 285 290 </dl> 286 291 287 292 <h3 id="grammar_specialized_objects">Specialized objects</h3> 288 293 <dl> … … 306 311 <dd>"<code>[</code>" specialized_object_sequence "<code>]</code>"</dd> 307 312 </dl> 308 313 314 <h3 id="grammar_complemented_objects">Complemented objects</h3> 315 <dl> 316 <dt>complemented_objects ::=</dt> 317 <dd>object_identifier |</dd> 318 <dd>complemented_object_sequence |</dd> 319 <dd>complemented_object_list</dd> 320 </dl> 321 <dl> 322 <dt>complemented_object_sequence ::=</dt> 323 <dd>object_identifier |</dd> 324 <dd>object_identifier "<code>,</code>" complemented_object_sequence</dd> 325 </dl> 326 <dl> 327 <dt>complemented_object_list ::=</dt> 328 <dd>"<code>[</code>" complemented_object_sequence "<code>]</code>"</dd> 329 </dl> 330 309 331 <h3 id="grammar_scope">Entity scope</h3> 310 332 <dl> … … 314 336 <dd>"<code>private</code>"</dd> 315 337 </dl> 316 338 317 339 318 340 <h2 id="grammar_entity_identifiers">Entity identifiers</h2> -
trunk/manuals/refman/index.html
r4271 r4277 40 40 <dd><a href="grammar.html#grammar_instantiated_objects">Instantiated objects</a><span class="leader"></span><span class="page-ref"><span class="grammar_instantiated_objects"></span></span></dd> 41 41 <dd><a href="grammar.html#grammar_specialized_objects">Specialized objects</a><span class="leader"></span><span class="page-ref"><span class="grammar_specialized_objects"></span></span></dd> 42 <dd><a href="grammar.html#grammar_complemented_objects">Complemented objects</a><span class="leader"></span><span class="page-ref"><span class="grammar_complemented_objects"></span></span></dd> 42 43 <dd><a href="grammar.html#grammar_scope">Entity scope</a><span class="leader"></span><span class="page-ref"><span class="grammar_scope"></span></span></dd> 43 44 </dl>
