gram/packages/parser/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
abiwab 9553678f4b fix(parser): stop bare @ingredient/#cookware names from swallowing a later element
simpleIngredient's and simpleCookware's "full" alternative used plain
name (stops only at {}()<|: and newlines), not refName (also stops at
@ # ~ ^ &). Any bare mention (@&chicken, #pan) followed later on the
same line by an unrelated {...} that happened to close a valid
quantity had its name greedily swallow everything in between,
including the other element's own sigil, silently losing that timer/
temperature/cookware/ingredient entirely. refName already existed and
was used by Reference and composite for exactly this reason.

Full test suite, conformance suite, and the audit/ tool's self-test
all pass with no golden changes needed.
2026-07-25 16:09:02 +02:00
..
grammar-content.ts fix(parser): stop bare @ingredient/#cookware names from swallowing a later element 2026-07-25 16:09:02 +02:00
guards.ts style: enable Biome formatter and reformat the whole codebase 2026-07-08 00:06:53 +02:00
index.ts chore(parser): drop AI-paraphrase comments, keep grammar edge-case notes 2026-07-25 10:01:35 +02:00
numbers.ts refactor(parser): extract numbers.ts, fix decimal-numerator truncation and zero-denominator Infinity 2026-07-24 13:56:27 +02:00
schemas.ts chore: drop internal audit citations from comments, keep rationale 2026-07-25 10:54:49 +02:00
types.ts chore: drop internal audit citations from comments, keep rationale 2026-07-25 10:54:49 +02:00