Waltzing Tree Sitter
Go to file
Michael Netshipise 6a0318bcb5 Add if/match expressions and fix import statement grammar
- Make 'as alias' optional in import_statement
- Add if_expression for if/else as values in @let statements
- Add match_expression for match as values
- Add macro_call support for format!(), vec![], etc.
- Use simple_pattern in let_statement to avoid conflicts with { }
- Reorder primary_expression to prioritize if/match over rust_path

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:42:06 +02:00
queries Add high-precedence macro token to prevent @for matching in @format! 2026-01-19 22:40:55 +02:00
src Add if/match expressions and fix import statement grammar 2026-01-20 11:42:06 +02:00
.gitignore Initial commit 2026-01-19 06:22:42 +02:00
grammar.js Add if/match expressions and fix import statement grammar 2026-01-20 11:42:06 +02:00
package-lock.json Fix multi-asterisk comments and update highlights 2026-01-19 07:54:08 +02:00
package.json Initial commit 2026-01-19 06:22:42 +02:00
tree-sitter.json Initial commit 2026-01-19 06:22:42 +02:00