| Did you know ... | Search Documentation: |
| Pack coworkers -- README.md |
A simple DSL in Prolog to implement workflows as trees of coroutines
workflow('release_project', Props) :-
wf(
props( Props ), module(workflow_module),
% data exchange between tasks happens through variable unification
node(dialog('coordinator'),
[ node(task('sync git repo', [ParentRepoVersions]), []),
node(task('modify parent repo versions', [ParentRepoVersions]), [])
])
).
Assuming that:
the defined workflow resembles that of some coworkers in an office.