Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bwyd-0.2.2.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bwyd-0.2.2-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file bwyd-0.2.2.tar.gz.

File metadata

  • Download URL: bwyd-0.2.2.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

Hashes for bwyd-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8e540bf45dc4896cba6ade23104bde105ef2a45fd445dde07d056f5532d3e792
MD5 df6a6084a1087ae01732b79117a62120
BLAKE2b-256 0fa9150a3bd3406b413c9f9e8f1c8547c30ce270bfab43cceafe0833c1dee5a7

See more details on using hashes here.

File details

Details for the file bwyd-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: bwyd-0.2.2-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

Hashes for bwyd-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e9a77c043e52b0950668474ba209d02ffffc341b8618d89a3f53d87b3fbd14a
MD5 21218dac393c7ceb3a80dd0d344e3c93
BLAKE2b-256 1f7f619eb01f890be02514d13d4202bac8863dee65f7069b6b4b5fc4f0e533c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page