At 10:19 PM 9/8/2001 -0500, Brian Wheeler wrote:
>Out of curiosity, will there be a NOP instruction? I guess we really
>wouldn't need one, since things like ADD I0,I0,0 is effectively a NOP
>and the Dan has indicated he wanted to keep the bytecode read-only, so
>there'd be no need for it after optimization (after the bytecode has
>been fixed to the disk or in memory).
Yeah, I can't think of a good reason for a noop. We might have one anyway,
though, just in case one comes along anyway.
>Here's a dumb question: will parrot allow bytecode which is stored in a
>perl scalar to be executed?
Yup, in a restricted sandbox too, if you want. That way we'll be able to
serialize code to bytestreams, spit them across the 'net, and execute them
on the other end.
>http://www.allegedlyfunny.com/opcodes.html
>I think DWIM might be a bit much, but HCF (Halt, Catch Fire) might be
>fun :)
Far too many of those are tempting... :)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk