Lurker News

Comments (146) 44 threads

Earlier comments
dusted2 replies#
I suggest replacing % with a space between the amount and unit.

@potatoes {1 kg} is a bit easier on the eyes

mekkkkkk#
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.
dubadub1 reply#
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.
gizdan#
Maybe using an underscore might make sense? i.e. {2_small batches}?
philsnow#
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.

brigandish1 reply#
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.

Still, I think I'll try this out!

dubadub#
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!

Load more comments