Having an explicit delimiter allows for whitespace in either amount or unit. I suppose that's the reason. Can't seem to come up with an example for that on the fly though.
I agree, I thought about that. I expect that it can be some cases when either ingredients or units have spaces. And the problem is that I can't come up with a solid counter example. Something like @coriander{2%small batches}... You can open an issue in a spec repo so people can discuss https://github.com/cooklang/spec.
When reading a recipe I always end up mentally translating the prose / steps into a DAG, but I don't have enough short term memory to keep the DAG in my head so I'm constantly re-compiling as I'm working.
When I write my own recipes (on index cards or whatever), I explicitly create the graph to make it easier to follow. Of all the links in this thread, the "Computerized Cooking" one most closely models my ideal setup, but I don't love the RxOL language. Maybe I'll make an s-exp version of it that exports diagrams someday.
I like it, a lot. However, the syntax for linking steps to pictures should be rethought, IMO, what if an image already has numbers in its filename? Could get confusing very quickly.
Agree, this was a last-minute hack. If you have an idea how to rethink this you can share one in a spec repo issues if you don't mind https://github.com/cooklang/spec. Thanks!
Comments (146) 44 threads
Earlier comments@potatoes {1 kg} is a bit easier on the eyes
When I write my own recipes (on index cards or whatever), I explicitly create the graph to make it easier to follow. Of all the links in this thread, the "Computerized Cooking" one most closely models my ideal setup, but I don't love the RxOL language. Maybe I'll make an s-exp version of it that exports diagrams someday.
Still, I think I'll try this out!
All comments shown.
Couldn't load more comments. Check your connection and try again.