[Python-Dev] Parrot -- should life imitate satire?
Tue, 31 Jul 2001 08:01:28 -0400
On Mon, Jul 30, 2001 at 08:08:47PM -0700, Nathan Torkington wrote:
>Andrew Kuchling writes:
>The core loop would just be the usual opcode dispatch loop ("call the
>function for the current operation, which returns the next
>operation"). The only difference is that some of the opcodes would be
>specific to RE matches. (I'm unclear on how much special logic RE
The big difference I see between regex opcodes and language opcodes is
that regexes need to backtrack and language ones don't. Unless the
idea is to compile a regex to actual VM code similar to that generated
by Python/Perl code, but then wouldn't that sacrifice efficiency?