When interpreting the Self bytecode of a resend (SUPER_SEND), can I always assume that the resend is directed iff there was a DELEGATEE bytecode after the last send?
Douglas
------------------------------------------------------------------------
eGroups.com home: http://www.egroups.com/group/self-interest http://www.egroups.com - Simplifying group communications
Douglas Atique wrote:
When interpreting the Self bytecode of a resend (SUPER_SEND), can I always assume that the resend is directed iff there was a DELEGATEE bytecode after the last send?
In the tinySelf 1 interpreter, the code that handles DELEGATEE looks at the next bytecode (after any index extension ones, of course) and generates an error if it isn't a RESEND bytecode. If it is, then a directed resend is executed.
So a RESEND bytecode is only seen by the outer loop of the interpreter if it was *not* preceeded by a DELEGATEE; then a non directed resend is executed.
-- Jecel
self-interest@lists.selflanguage.org