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.3.0.tar.gz (27.4 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.3.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bwyd-0.3.0.tar.gz
  • Upload date:
  • Size: 27.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 d66effd9b0136fbadde5bd65250a7b90924256b33a5226fc15717c9892eb67a8
MD5 98649aa1c0ec930ad39db818acc9a7a1
BLAKE2b-256 d997d6f7bd2d10612d35ef50f8ebb656bc1090f7c04e96211cbc218bc82f2eb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bwyd-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f398cfa0378631cb912e19963caa1405f56eb5a9e89c77404f661bbc6024b0e
MD5 d013de7bc3ce456c916936eda4724598
BLAKE2b-256 9c28ed21965fa04db63dd8d7f6e627530cb9f377c4dc11c2743fd3377190c474

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