The seed crazy idea here is to consider how human cooks behave like robots, following recipes as instructions.
Project description
Bwyd cooking DSL
Have you ever considered, "How does language generate food?"
While not quite that, language does convey passion, desire, learnings -- all of which translate into preparing food to be shared lovingly.
Abstract
Goal: Implement a DSL (domain specific language) to simplify means for defining reliable recipes rapidly, while leveraging computational tools to catch errors and inconsistencies, scale portions, calculate yields, and so on.
The "seed crazy idea" behind the scenes here is to consider how cooks behave somewhat like robots, following recipes as step-by-step instructions. Recipes make cooks "programmable" to some extent.
Conversely, what if detailed cooking instructions could be expressed in a way that was computable and represented independently of specific human languages? In other words, representing the processes of cooking as source code plus semi-structured data?
To this point also consider: where do the stories which inspire and the associated human domain expertise get attached into the process of defining robust recipes?
Motivations
Clearly the bulk of free recipes online (circa 2025) are intended and structured as click-bait, and a growing protion of that content simply does not work in a kitchen. Now the popular services of "Today's AI" -- which are intended to provide abstractive summarization -- are beginning to show indications of republishing that degraded content. A positive feedback loop follows, and it won't be pretty.
Consequently this project is an application of contemporary software engineering -- particularly drawn from functional programming -- into the process of how people in professional kitchens think about their work. Think of this project as a domain specific language for authoring and navigating cookbooks, customized for use with language models, causal graphs, neurosymbolic reasoning, and other building blocks for AI applications.
Code in Bwyd language represents the "structure" and "art" of cooking, which can then be parameterized and rendered as text to generate recipes for a broader audience of home cooks.
A secondary use for Bwyd as a DSL is to provide an intermediate form for leveraging generative approaches to manipulate recipes while ensuring the quality required by use in professional kitchens.
Documentation
- how to install: INSTALL.md
- project notes: NOTES.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bwyd-0.2.1.tar.gz.
File metadata
- Download URL: bwyd-0.2.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.8 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f536586ea118ca69c48c9e8f1b3af69ac8907cc10bf8aaf7c28b9a468695b4cf
|
|
| MD5 |
ea674c741da9b46927b2ea01ae705ad7
|
|
| BLAKE2b-256 |
941fbc4681db989e0ce60ac414274c33fbdd95ee471c05b86bef42dd7d1f6aff
|
File details
Details for the file bwyd-0.2.1-py3-none-any.whl.
File metadata
- Download URL: bwyd-0.2.1-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.8 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb96e3beb6b0ffd1134e20eeab137b97dd1cc9e119a049c3a5636bb0d55b8ac
|
|
| MD5 |
c47f76a39a5914366ca0f5f1a03d1a1f
|
|
| BLAKE2b-256 |
b919230a47901af287a815ce01e9f39a4f1ffaf0b4d7e17e1603c02c14853f12
|