[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Instruction By Instruction Parsing
- From: David Byard <morpius@...>
- Date: Thu, 27 May 2004 16:09:01 +0100
> The debugging hooks should give you instruction by instruction (or maybe
> just line by line) control, while coroutines would let the scripts run until
> they are ready to "yield", and to "return" values back out of themselves at
> the "yield" points.
This sounds interesting, but scripts will be untrusted and there will be
many running at once. Therefore the yielding must be enforced, and
happen at a set rate so the script can be killed if it runs for too
long.