Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 519 Bytes

File metadata and controls

37 lines (24 loc) · 519 Bytes

tree-sitter-htmlx

Tree-sitter grammars for HTMLX and extended template languages.

Prerequisites

Install the tree-sitter CLI:

cargo install tree-sitter-cli

Build

cargo build

The build automatically runs tree-sitter generate and recompiles when you change:

  • grammar.js
  • src/scanner.c
  • queries/*.scm

Test

cargo test

Crates

  • tree-sitter-htmlx - HTML with embedded expressions
  • tree-sitter-svelte - Svelte 5 components (extends HTMLX)

License

MIT