Cookbooks
Short, task-focused examples and patterns.
Available Cookbooks
- Query Cookbook
- Practical
QueryAPI patterns for traversing the AST.
- Practical
- Parser Cookbook
- Nom recipes: identifiers, lists, delimited blocks with
cut, tokens withcomplete, andall_consumingfile parsers.
- Nom recipes: identifiers, lists, delimited blocks with
When to use
- You know the outcome you want and need a concise example.
- You want to copy/paste a small starting point and adapt.
For deeper explanations, see:
docs/development/writing-parsers.mddocs/analysis/traversal-guide.md