Talk:Plan for implementing battlescripting
From OHRRPGCE-Wiki
The Mad Cacti: A separate equivalent? If we used an exactly identical copy of interpretloop, that would work. I suppose we could do that if we're desperate for a workaround or fast results (that sounds like reasonable justification to me). I think a hack to call a gosub in another function/module is probably infeasible, even with setjmp/longjmp. Unless we somehow set up a second stack for the interpreter, co-routine style. Hmm... that sounds fun
Bob the Hamster: Multiple separate stacks might be a good idea for multitasking too.