| Did you know ... | Search Documentation: |
| Packs (add-ons) for SWI-Prolog |
| Title: | Workflow definition as tree of coroutines |
|---|---|
| Rating: | Not rated. Create the first rating! |
| Latest version: | 0.1.0 |
| SHA1 sum: | 2979ce21a0f43a291d1997467d2b43d60beee0e8 |
| Author: | Ronan Tanguy <tanguy.ronan@gmail.com> |
| Maintainer: | Ronan Tanguy <tanguy.ronan@gmail.com> |
| Packager: | Ronan Tanguy <tanguy.ronan@gmail.com> |
| Home page: | https://github.com/incodame/coworkers |
| Download URL: | https://github.com/incodame/coworkers/archive/0.1.0.zip |
No reviews. Create the first review!.
| Version | SHA1 | #Downloads | URL |
|---|---|---|---|
| 0.1.0 | 2979ce21a0f43a291d1997467d2b43d60beee0e8 | 22 | https://github.com/incodame/coworkers/archive/0.1.0.zip |
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.
Pack contains 6 files holding a total of 7.1K bytes.