tree-sitter-heex

Crates.iotree-sitter-heex
lib.rstree-sitter-heex
version0.8.1
created_at2025-01-15 16:34:43.381625+00
updated_at2025-01-29 19:17:08.677137+00
descriptionheex grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/phoenixframework/tree-sitter-heex
max_upload_size
id1517686
size171,445
Jonatan Kłosko (jonatanklosko)

documentation

README

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 asdf:
cd tree-sitter-heex
asdf 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

Commit count: 56

cargo fmt