Changeset 4470 for trunk/compiler

Show
Ignore:
Timestamp:
09/22/08 08:18:55 (4 months ago)
Author:
pmoura
Message:

Added a syntax construct for easy access to parametric object proxies represented as Prolog facts when sending a message ({Proxy}::Message). Updated the "proxies" example to illustrate this new functionality.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4468 r4470  
    78837883 
    78847884 
     7885% convenient access to parametric object proxies 
     7886 
     7887'$lgt_tr_msg'(Pred, {Proxy}, (call(Proxy), TPred), This) :- 
     7888    !, 
     7889    '$lgt_tr_msg'(Pred, Proxy, TPred, This). 
     7890 
     7891 
    78857892% translation performed at runtime 
    78867893