Ruby parser Ismael Celis uses in Sourced to statically analyse the command/event/reaction DSL (declarative and high-level enough to be easy to inspect) and emit workflow diagrams automatically from user code.