I think we can take a similar approach as GEMOC : something like an aspect to define a function as a step. There is some interesting point that would be could to implement :
- Sensible default : provide a default step from semantic definition
- Manual Step : Provide in semantic definition something like step.begin(), step.end(). In Python this could be implemented as context manager
- Imbricated Step : There should be information about imbricated step for step in/out semantics
- Step content ?
I think we can take a similar approach as GEMOC : something like an aspect to define a function as a step. There is some interesting point that would be could to implement :