[Core] Cleaner JSON token types, public usageId, and JSON Schema #339
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram#339
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While working on unit ratios in
v1.5, I ran into a few rough edges in the compiled JSON output. I want to tidy those up inv1.7without breaking anything for existing tools, so the format is solid heading intov2.0.What I'm planning to change (all additive in
v1.7, with old fields deprecated untilv2.0):typefield (unlike timers, references, or alternatives), so anyone reading the JSON has to guess what an object is.usageId/usageIdsfield on mentions and shopping list items, and deprecate the internal_usageId/_usageIds.Usagetype cleanly from the analyzer's enriched fields (normalizedMass,bakersPercentage, etc.), so kitchen doesn't declare fields it never fills.compile()andanalyze()outputs and check every conformance test against it in CI.None of this changes
.gramsyntax or how recipes look. Existing outputs stay identical except for the added fields.