Changeset 3977
- Timestamp:
- 12/21/07 07:51:35 (13 months ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
compiler/logtalk.pl (modified) (2 diffs)
-
examples/aliases/SCRIPT.txt (modified) (2 diffs)
-
manuals/refman/grammar.html (modified) (2 diffs)
-
manuals/userman/predicates.html (modified) (3 diffs)
-
RELEASE_NOTES.txt (modified) (2 diffs)
-
UPGRADING.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r3966 r3977 1877 1877 \+ call_with_args(TCtnDcl, Pred, _, _, _, _, _), 1878 1878 '$lgt_alias_pred'(Obj, Prefix, Pred, Pred2), 1879 Prop = alias (Pred2)1879 Prop = alias_of(Pred2) 1880 1880 ; call_with_args(Def, Pred, _, _, _, _, DCtn) -> % must be the last property checked because 1881 1881 Prop = defined_in(DCtn) % of the implicit cut on the ->/2 call … … 11099 11099 '$lgt_valid_pred_property'(meta_predicate(_)). 11100 11100 '$lgt_valid_pred_property'(built_in). 11101 '$lgt_valid_pred_property'(alias (_)).11101 '$lgt_valid_pred_property'(alias_of(_)). 11102 11102 '$lgt_valid_pred_property'(non_terminal(_)). 11103 11103 '$lgt_valid_pred_property'(synchronized). -
trunk/examples/aliases/SCRIPT.txt
r3941 r3977 37 37 Property = declared_in(rectangle(_G264, _G265)) ; 38 38 Property = defined_in(rectangle(_G297, _G298)) ; 39 Property = alias (width(_G182))39 Property = alias_of(width(_G182)) 40 40 yes 41 41 … … 73 73 Property = declared_in(ellipse(_G266, _G267)) ; 74 74 Property = defined_in(ellipse(_G299, _G300)) ; 75 Property = alias (rx(_G177))75 Property = alias_of(rx(_G177)) 76 76 yes 77 77 -
trunk/manuals/refman/grammar.html
r3830 r3977 748 748 <dd>"<code>defined_in(</code>" object_identifier | category_identifier "<code>)</code>" |</dd> 749 749 <dd>"<code>meta_predicate(</code>" meta_predicate_mode_indicator "<code>)</code>" |</dd> 750 <dd>"<code>alias (</code>" callable "<code>)</code>" |</dd>750 <dd>"<code>alias_of(</code>" callable "<code>)</code>" |</dd> 751 751 <dd>"<code>non_terminal(</code>" non_terminal_indicator "<code>)</code>"</dd> 752 752 </dl> … … 755 755 <div class="copyright"> 756 756 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 757 <span>Last updated on: April 14, 2007</span>757 <span>Last updated on: December 9, 2007</span> 758 758 </div> 759 759 <div class="navbottom"> -
trunk/manuals/userman/predicates.html
r3839 r3977 610 610 <li><code>defined_in(Entity)</code></li> 611 611 <li><code>non_terminal(NonTerminal//Arity)</code></li> 612 <li><code>alias (Predicate)</code></li>612 <li><code>alias_of(Predicate)</code></li> 613 613 <li><code>synchronized</code></li> 614 614 </ul> … … 623 623 </p> 624 624 <p> 625 The property <code>alias /1</code> is returned for predicates that are an alias toother predicate (which is returned in the property argument).625 The property <code>alias_of/1</code> is returned for a predicate that is an alias of another predicate (which is returned in the property argument). 626 626 </p> 627 627 <p> … … 676 676 <div class="copyright"> 677 677 <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: September 15, 2007</span>678 <span>Last updated on: December 9, 2007</span> 679 679 </div> 680 680 <div class="navbottom"> -
trunk/RELEASE_NOTES.txt
r3973 r3977 43 43 files. 44 44 45 Renamed the predicate property "alias/1" to "alias_of/1" in order to 46 disambiguate its meaning. 47 45 48 Added a new config file, "k6.config", for the K-Prolog 6.0 beta 46 49 version. … … 55 58 Added two new multi-threading examples, "fibonacci" and "hanoi", and 56 59 corrected a bug in the recursive creation of threads on the "sorting" 57 example. Updated the "primes" multi-threading example to also work with60 example. Updated the "primes" multi-threading example to also support 58 61 eight threads. 59 62 -
trunk/UPGRADING.txt
r3976 r3977 177 177 Logtalk 2.31.0 changes the "imports" relation between categories to the 178 178 relation "extends". The relation "imports" is now only used for objects 179 importing categories. This version also changes compiler hook support; 180 you will need to update your code if you're using hook objects and hook 181 predicates. Moreover, Logtalk source files will need to be recompiled 182 because of the changes done in this version to improve updating runtime 183 bookkeeping tables when loading new entities. 179 importing categories. This version renames the predicate property "alias/1" 180 to "alias_of/1" in order to disambiguate its meaning. This version also 181 changes compiler hook support; you will need to update your code if you're 182 using hook objects and hook predicates. Moreover, Logtalk source files will 183 need to be recompiled because of the changes done in this version to improve 184 updating runtime bookkeeping tables when loading new entities.
