Zum Inhalt der Seite gehen


"Cooklang – Recipe Markup Language"

https://cooklang.org/

I love this but also think it'll never take off (but should)

#cooking #recipe #programming
A screenshot of cooklang, where ingredients are prefixed with @ and suffixed with {}:

Then add @salt and @ground black pepper{} to taste. Poke holes in @potato{2}. Place @acon strips{1%kg} on a baking sheet and glaze with @syrup{1/2%tbsp}.
Did you check https://cooked.wiki/, yet? ;)
uhu... Seems like a useful use of llm-nlp. You use it?
No. But not because of the wiki, but because I don't cook.
It would need to prove itself a more accessible/beneficial workflow to the cookbook publishing industry and recipe bloggers, which is probably not outside the realm of possibility if some more GUIs and exporters were made to focus on non-technical users.
I see those recipe database and markup language projects from time to time, but finding it hard to be excited about them, since a dedicated language feels excessive for such a task (that is, XML and/or RDF can be employed instead, reusing existing tools), and the lack of structure is not among the main issues I notice with recipe databases (cookbooks): more often it is the usage of awkward units, which cannot be converted reliably (use of volumes instead of masses for flour and adjacent ingredients, or of undefined cans and packs, as in the first recipe example on that website), or other issues in the recipes themselves, not related to the lack of markup.

This reminds me of NIH syndrome and related practices: it can be fun and educational to design things from scratch instead of using existing ones, but it rarely leads to useful results.
NIH = not invented here https://en.m.wikipedia.org/wiki/Not_invented_here

Yeah, I didn't see any project rational arguing why no other existing project is suitable... Indeed, one should always look for that. Writing XML is not a thrilling prospect though, gotta be honest.

I'm becoming more of a fan of volumes, for recipes which aren't variance critical. But get your point.
You may also enjoy https://schema.org/Recipe
May ought to be an emacs mode 😃
https://github.com/cooklang/cook-mode haha
oh that is really cool, i thought it would just be a joke programming language but no it is literally a markup language for cooking recipes that's awesome on so many levels :blobfoxheartcute:
Dieser Beitrag wurde bearbeitet. (8 Monate her)
And here I was getting ready to move all my recipes into Gemtext for my Gemini capsule.
write a thing for cooklang to create Gemtext output?
Dieser Beitrag wurde bearbeitet. (8 Monate her)

Doug Webb hat dies geteilt

Hm.. If I mention @potatoes{1%kg} and @potatoes{500%g} will it add them, will it take the maximum value? Depending on the recipe either could be correct. In general this is a nice idea, but it doesn't seem thought through thoroughly.