[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: modifying current execution line/opcode
- From: Andrew Fray <afray@...>
- Date: Tue, 19 Dec 2006 15:31:32 +0000
Terisquas Brothers wrote:
--- "Andrew Fray" wrote:
Your best bet might be constructing some kind of
finite state machine
and a lua-based interpreter/ide. IMO that's better
than trying to hack around with the byte code, and
lua's so fast to
develop in that you may find it doesn't take too much
mmm... what do you mean exactly? a lua interpreter
Sorry, wasn't so clear.
I suggest writing a finite state machine interpreter in lua, and a quick
GUI that hooks into that interpreter and can alter the machine state as
to simulate edit-and-continue or stepping to a previous/future point in
the state matrix.
Although I know that doesn't satisfy the curiosity of the more hardcore
You probably know, but a finite state machine is a closed system
containing only actions, transitions, and states for those actions and
transitions to move between. It's a more formal way of laying out
probably what you're already doing, and given a good IDE should be
quicker to create than writing specialized Lua code.