🍳 Foodlang

Targets

Every target compiles from either .food or .food.yaml — equivalent recipes produce equivalent output. Machine/execution targets compile through an internal S88-inspired execution plan; data/web targets compile directly from the recipe AST.

foodlang compile examples/ethiopia-pourover.food  --target s88
foodlang compile examples/ethiopia-pourover.food.yaml --target s88   # identical

Honesty & confidence

Some targets are verified outputs, some are mappings, some are profile-inspired exports, and some are illustrative templates. Each output declares it and emits warnings where appropriate. Run foodlang targets to list everything.

Confidence Meaning
executable a directly usable artifact / canonical data
mapping exportable mapping data, not live execution
profile a device-profile mapping, not a verified native import
illustrative an educational template / planner-adjacent

Core

json, orf, yaml, kdl, cooklang, schema-org — the recipe and data views. orf/yaml emit ORF-compatible YAML; kdl emits the cute authoring format; json emits the normalized AST.

Execution / Process

foodx (portable .foodx.yaml plan), food-exec (internal execution plan), s88 (ISA-88 batch procedure), batchml (XML), packml, opcua-packml, iec61131-sfc, iec61131-st. These route through the execution plan — see Execution IR.

OPC UA / Food & Beverage

opcua-commercial-kitchen, opcua-coffee, opcua-weihenstephan. Mapping payloads; node IDs are vendor-specific.

Coffee / Brewing

coffee-mqtt, home-connect, fellow-aiden, xbloom, acaia-brewguide, decent, gaggiuino, gaggimate, meticulous, brewspec, beanconqueror, craftbeerpi, beerjson, beerxml. Espresso-profile targets (decent, gaggiuino, gaggimate, meticulous) prefer recipes with an espresso_profile; pour-over targets prefer a brew_profile.

Robot / Planning

robot-action-graph, pddl, foon, ltl, knowrob. Planner-adjacent; robot skills must be mapped per target before execution.

Compatibility matrix

Target Best for Output kind
orf / yaml official structured recipe executable
kdl cute authoring executable
cooklang human recipe text mapping
schema-org web publishing / SEO mapping
foodx / food-exec portable execution plan executable
s88 / batchml / packml industrial batch / process mapping
iec61131-sfc / -st PLC control templates illustrative
opcua-* machine parameter mapping mapping
coffee-mqtt DIY / Home Assistant mapping
home-connect smart appliances mapping
decent / gaggiuino / meticulous espresso profiles profile
fellow-aiden / xbloom / acaia-brewguide pour-over profiles profile
robot-action-graph / pddl / foon / ltl / knowrob robot planning mapping / illustrative