From: Trevor P. <Tp...@si...> - 2002-02-13 03:39:29
|
Hello, We would like to embed a scripting language in a java product and are considering Jython. But we would like this language to be able to "pause" if certain conditions occur: ie, control would be returned to the java code that invoked the script but the jython stack and execution environment would be saved, and could be resumed later; perhaps even serialized and later loaded from disk. I don't believe this is currently possible in Jython. Am I wrong? I think Jython is a great tool, so I'd love to be able to use it here. If Jython is going to support generators this gives us some of the desired functionality. If we could serialize generators that would be really cool, but that's probably wishful thinking... |