Skip to content

docs: range quantities (0011) - #176

Merged
dubadub merged 1 commit into
mainfrom
docs/0011-ranges
Nov 28, 2026
Merged

dubadub merged 1 commit into
mainfrom
docs/0011-ranges

Conversation

@dubadub

@dubadub dubadub commented Nov 28, 2026

Copy link
Copy Markdown
Member

Lands accepted proposal 0011 in the spec.

  • README: new Ranges section (two numbers joined by -, – or —; units apply to both ends; scaling, the = lock, adding up, display, unit conversion, timer countdown at the lower end), plus a TOC entry
  • EBNF: range, range separator and the number productions
  • conventions: ranges on free-hand and selection lines and in shopping list totals, written back as start-end; pantry matching against the upper end; range scaling and the lock; cookware ranges only displayed and added up
  • Canonical tests v9: the proposal's 11 cases; the start/end mapping documented in tests/README.md
  • Proposal status: Accepted, in implementation

Parser: cooklang/cooklang-rs#169. App tickets: cooklang/cookcli#862 and the iOS/Android tickets. Site sync (cooklang.org) is separate.

- README: new Ranges section (syntax, dashes, scaling, aggregation,
  display, conversion and timer rules); TOC entry
- EBNF: range and number productions
- conventions: ranges on shopping list lines and in totals, pantry
  matching against the upper end, range scaling and the = lock,
  cookware ranges
- tests: canonical v9 with the proposal's range cases; start/end
  mapping in tests/README
- mark proposal 0011 as accepted, in implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant