#tree-sitter

tree-sitter-embedded-template

Embedded Template (ERB, EJS) grammar for the tree-sitter parsing library

4 releases (breaking)

0.23.0 Sep 2, 2024
0.21.0 May 6, 2024
0.20.0 Nov 3, 2022
0.19.0 Mar 4, 2021

#44 in #tree-sitter

Download history 1321/week @ 2024-07-04 1652/week @ 2024-07-11 943/week @ 2024-07-18 815/week @ 2024-07-25 1067/week @ 2024-08-01 667/week @ 2024-08-08 739/week @ 2024-08-15 788/week @ 2024-08-22 862/week @ 2024-08-29 732/week @ 2024-09-05 1005/week @ 2024-09-12 924/week @ 2024-09-19 896/week @ 2024-09-26 868/week @ 2024-10-03 850/week @ 2024-10-10 727/week @ 2024-10-17

3,491 downloads per month
Used in syntastica-parsers

MIT license

40KB
1K SLoC

C 1K SLoC JavaScript 35 SLoC // 0.2% comments Rust 27 SLoC Scheme 23 SLoC

tree-sitter-embedded-template

CI discord matrix crates npm pypi

A tree-sitter parser for templating languages like ERB and EJS, in which scripting code can be embedded within text content using the delimiters <% and %>.

References

Dependencies

~225KB