Oh, I see... what you really want is a representation of procs (including all their dependencies and state)... which you basically can't get because of the hiding implied by lambdas.
I'm afraid I cannot offer any sensible advice, then. AFAICT the only solution is to *embed* the proc language such that it's actually a language that's *interpreted* bt the Pyrel game code (as an AST). Of course it could also be compiled to python bytecode or whatever when actually executed, but that's just an optimization...
I'm afraid I cannot offer any sensible advice, then. AFAICT the only solution is to *embed* the proc language such that it's actually a language that's *interpreted* bt the Pyrel game code (as an AST). Of course it could also be compiled to python bytecode or whatever when actually executed, but that's just an optimization...
Comment