This means that the interpreter must "externalize" its state (compiled scripts and global scope) in an object stored in the treeprocessor for a sitemap (in the FlowNode).
yes
Or another solution is to change Interpreter into InterpreterFactory: the state mentioned above would then be the interpreter itself.
huh? do you mean there is exactly one interpreter for a specific state accessable through the factory? please explain :) -- Torsten
