Vendored tree-sitter-heex
  • JavaScript 22.9%
  • Tree-sitter Query 16.8%
  • Makefile 16%
  • HTML 14.9%
  • CMake 12.2%
  • Other 17.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Reynard User f8f631c715
Some checks failed
Continuous Integration / test (push) Has been cancelled
chore: sync dependencies (monorepo)
2026-04-17 10:39:57 +02:00
.github/workflows Add prettier code formatter 2022-06-13 09:06:34 -07:00
bindings Fix unsafe extern block for Rust 2024 2026-04-13 21:47:18 +02:00
queries Add injections for style/onEVENT attributes 2026-03-14 10:31:25 -05:00
src Support HTML entities and missing keywords 2026-03-14 10:31:07 -05:00
test Update existing tests 2026-03-14 10:31:07 -05:00
.editorconfig Update tree-sitter 2025-01-15 14:43:54 -05:00
.gitattributes Add .gitattributes from tree-sitter-eex 2022-01-18 18:06:08 -08:00
.gitignore Do not ignore lockfiles 2026-03-14 23:32:20 -05:00
binding.gyp Update tree-sitter 2025-01-15 14:43:54 -05:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-17 10:39:57 +02:00
CHANGELOG.md Release v0.9.0 2026-03-23 10:20:41 -04:00
CMakeLists.txt Release v0.9.0 2026-03-23 10:20:41 -04:00
go.mod Update tree-sitter 2025-01-15 14:43:54 -05:00
grammar.js Apply code formatting 2026-03-14 10:31:07 -05:00
LICENSE.md Add MIT license 2022-10-18 07:22:45 -07:00
Makefile Release v0.9.0 2026-03-23 10:20:41 -04:00
mise.toml Add mise.toml file 2026-03-14 10:29:49 -05:00
package-lock.json Release v0.9.0 2026-03-23 10:20:41 -04:00
package.json Release v0.9.0 2026-03-23 10:20:41 -04:00
Package.swift Update tree-sitter 2025-01-15 14:43:54 -05:00
pyproject.toml Release v0.9.0 2026-03-23 10:20:41 -04:00
README.md Revert "Add instructions for global node-gyp-build install" 2026-03-14 10:29:49 -05:00
setup.py Update tree-sitter 2025-01-15 14:43:54 -05:00
tree-sitter.json Release v0.9.0 2026-03-23 10:20:41 -04:00

Tree-sitter HEEx

Tree-sitter grammar and parser for HEEx, the HTML-aware and component-friendly extension of EEx for Phoenix.

For EEx support, see tree-sitter-eex. For Surface support, see tree-sitter-surface.

Installation

Requirements

See Creating Parsers for more information.

Usage

  1. Clone this repository:
git clone https://github.com/phoenixframework/tree-sitter-heex.git
  1. (Optional) Install NodeJS via mise:
cd tree-sitter-heex
mise install
  1. Install npm dependencies:
npm install
  1. Run the tests:
npm test
  1. Run the code formatter:
npm run format
  1. (Optional) Update the tests (useful when contributing):
npm run update_test
  1. (Optional) Run the web playground (requires Docker):
npm run playground

See Using Parsers for more information.

Editor Support