I need a scripting language for describing very complicated workflows.
These workflows need to be paused whenever user input is required, and resumed after it is given (could be months later). Seems like serializable continuations from Stackless would be a good fit.
Users also need to be able to edit the workflows themselves. I'm not sure how serialized continuations would handle underlying code changes. I think I might need to save the Git version hash along with the continuation, and only 'upgrade' a continuation at checkpoints where no state is needed.
I prefer the Python syntax since readability is a very high priority, and dynamic features are key. I'm open to suggestions, though.
- Eventually I'll probably write a visual flow-chart editor that maniupulates the underlying code.
I've looked in depth at Stackless and PyPy. Stackless doesn't seem to offer any promises of sandboxing, while PyPy seems to offer both stackless and sandboxed, but I can't find any mention of having both at the same time.
Any solutions? If there's an expert out there who can get me going with a good solution, I've got a paypal account and I'm willing to use it.