Gram documentation
Gram Docs
Language reference, practical guides, and engine APIs for compiling plain-text recipes into structured, calculated data.
New to Gram?What is Gram?
Browse by section
Understand Gram's philosophy, write your first recipe, and follow practical workflows.
Quick cheatsheet and complete reference for core markers and advanced expressions.
Run recipes from the CLI, edit with VS Code and LSP, import via AI, or build a custom UI.
Integrate TypeScript packages, inspect compiled JSON schemas, and explore scheduling internals.
npx @gram-lang/cli initWhat's new in v1.5
A look at some of what's new in this release.
={…}Target statesNote when a step is ready (color, texture, smell) and how to tell.
a + bSums of quantitiesCombine multiple units for one ingredient, such as 1 cup + 1 tsp.
a / bRatios with unitsBase an ingredient or cooking time on another ingredient's weight or count (e.g. 15 min / 500 g).
1h30Natural durationsWrite timers the way people read them: 1h30, 1:30 h, or 5'30".