Commit Graph

5 Commits

Author SHA1 Message Date
426590a1d1 feat: add highlight, indent, fold, locals, and tags queries 2026-03-27 10:25:16 +01:00
c4d53c9ea7 feat: add external scanner, template literals, and Rune-specific constructs
- Remove raw string handling from scanner, make scanner stateless
- Add template_content external token for backtick template scanning
- Add template_literal and interpolation grammar rules
- Add select_expression with select_arm for async select blocks
- Add object_literal (#{ key: value }) syntax
- Add is_expression and is_not_expression type check operators
- Verify yield_expression works as expected
2026-03-27 10:19:00 +01:00
fbbe1be791 feat: transform Rust grammar to Rune grammar
Strip type system (generics, lifetimes, trait bounds, type annotations),
ownership/unsafe/extern rules, macro definitions, labels, shebang, and
simplify declarations (fn, struct, enum, let, closure) for Rune's
dynamically-typed model. Rename scanner symbols from rust to rune.
2026-03-27 10:03:40 +01:00
70f7fbd8f5 chore: copy tree-sitter-rust grammar and scanner as starting point 2026-03-27 09:43:15 +01:00
64bfd3066e chore: scaffold tree-sitter-rune project 2026-03-27 09:42:45 +01:00