diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2021-11-11 20:31:07 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2021-11-11 20:31:18 +0200 |
commit | 2e00a24994e094efc47fce4501b134caa801ea2c (patch) | |
tree | 883412c7086f4bfadedb9e27b7b57822af14ac0f /README.org | |
parent | aafa144e680fe3d11f0e59ea779dff1caa96ef67 (diff) | |
download | foodtools-2e00a24994e094efc47fce4501b134caa801ea2c.tar.gz foodtools-2e00a24994e094efc47fce4501b134caa801ea2c.tar.bz2 foodtools-2e00a24994e094efc47fce4501b134caa801ea2c.zip |
Add readme & help
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 39 |
1 files changed, 38 insertions, 1 deletions
@@ -1,9 +1,13 @@ +#+STARTUP: hidestars + +* example #+begin_src conf # title @ fried onion ## INGREDIENTS - # `!/path/to/rcp` to include it <TODO: add number> + # `!/path/to/rcp` to include it + # `2!/path/to/rcp` to include two of it # `a = b` set ingredient a to quantity b onion = 2 salt = 1tsp @@ -43,3 +47,36 @@ + list recipies with path + or with title + or both + +* parse +** Input + Recipe file [[example]] +** Output + Struct with raw steps and subrecipes + +* eval + +** Input + parser output +** Output + Struct with + - finalised ingredients + - resolved steps + - subrecipes still remain + +** EvalSteps + + Step also has: + - duration :: string or null + - result? :: string or null + - variables? :: list of strings or null + + #+begin_src C + struct resolved_step { + char * text; + char * duration; + char * result; + char ** ingredients; + } + #+end_src + |