diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-08-23 14:46:27 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-08-23 14:46:27 +0200 |
commit | 4d389ad4e6223ba56ec739fca55ad2e170a06a2b (patch) | |
tree | c4c2a90cb3a52cd7822706ddeb1d2be8620c44db /rif/README.md | |
parent | 9f00deb9fcb35f43c2511a0ea562eed33271c723 (diff) |
Diffstat (limited to 'rif/README.md')
-rw-r--r-- | rif/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rif/README.md b/rif/README.md new file mode 100644 index 0000000..e99b4c1 --- /dev/null +++ b/rif/README.md @@ -0,0 +1,20 @@ +# recipe instruction format (`rif`) + +A strongly typed expression format for recipes. + +Recipes consist of a schema which specifies available ingredients and +worksteps, some metadata that is largely computed from the actual +recipe, but can be queried from the main object, as well as a directed +graph of ingredient measures and worksteps separated into threads. + +A thread is a set of instructions that can be executed by a single +actor. Each thread has a set of inputs (ingredients) and an output, +which is it's own type, a mix of ingredients created by the thread. + + +## How to use + +```rust +let schema = Schema::load("./main.rifs")?; +let recp = Recipe:: +``` |