tree-sitter-gram/test/corpus/cookware.txt
abiwab d8c5a1e7f3
All checks were successful
CI / Grammar, queries & corpus (pull_request) Successful in 16s
chore: pin the gram dev/1.6 parser and corpus, cover gram#303 and release 0.1.1
2026-11-28 14:39:27 +01:00

108 lines
1.6 KiB
Text

========================================
Bare and full
========================================
Use a #bowl and a #large pot{} and #pans{2}.
---
(document
(step
(text)
(cookware
(name))
(text)
(cookware
(name)
(amount))
(text)
(cookware
(name)
(amount
(number)))
(text)))
========================================
Alias, modifier, preparation
========================================
Use a #?pan:skillet{1}(oiled) and #whisk(clean).
---
(document
(step
(text)
(cookware
(modifier)
(name)
(alias)
(amount
(number))
(preparation
(note)))
(text)
(cookware
(name)
(preparation
(note)))
(text)))
========================================
Alternatives
========================================
Use a #bowl|#pot.
---
(document
(step
(text)
(alternative
(cookware
(name))
(cookware
(name)))
(text)))
========================================
Colon and blank after a bare tool: punctuation, no alias (#273)
========================================
Heat the #pan: then add oil.
Heat the #pan: then add oil.
---
(document
(step
(text)
(cookware
(name))
(text)
(text))
(step
(text)
(cookware
(name))
(text)
(text)))
========================================
Tool alias glued to the colon
========================================
Use the #cast iron skillet:skillet{}.
---
(document
(step
(text)
(cookware
(name)
(alias)
(amount))
(text)))