๐Ÿณ Foodlang
Command line

foodlang โ€” the recipe compiler in your terminal

A free, open-source CLI for working with .food.yaml files. Validate recipes, classify them across the seven Foodlang levels, print summaries, and compile to any of eleven targets. Output goes to stdout, so it composes with everything else in your shell.

Commands

CommandDescription
validateValidate a recipe and classify its Foodlang levels
inspectPrint a human-readable summary of a recipe
compileCompile a recipe to a target format
targetsList available compiler targets and their fidelity

A quick tour

pnpm foodlang validate examples/simple-latte.food.yaml
pnpm foodlang inspect  examples/simple-latte.food.yaml
pnpm foodlang compile  examples/simple-latte.food.yaml --target schema-org
pnpm foodlang compile  examples/simple-latte.food.yaml --target robot-action-graph
pnpm foodlang targets
๐Ÿ“˜

CLI: Getting Started

Full command reference with example output for every subcommand.

Read the docs โ†’
๐ŸŽ›๏ธ

Compiler Targets

See exactly what each of the eleven targets produces.

Browse targets โ†’
๐Ÿงช

Playground

Run the same compilers without installing anything.

Open playground โ†’