Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter/tree-sitter-embedded-template
Tree-sitter grammar for embedded template languages like ERB, EJS
https://github.com/tree-sitter/tree-sitter-embedded-template
parser template-language tree-sitter
Last synced: 1 day ago
JSON representation
Tree-sitter grammar for embedded template languages like ERB, EJS
- Host: GitHub
- URL: https://github.com/tree-sitter/tree-sitter-embedded-template
- Owner: tree-sitter
- License: mit
- Created: 2018-07-05T19:57:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T06:51:13.000Z (about 1 month ago)
- Last Synced: 2024-11-17T11:18:28.130Z (25 days ago)
- Topics: parser, template-language, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 199 KB
- Stars: 60
- Watchers: 6
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tree-sitter - ERB / EJS
README
# tree-sitter-embedded-template
[![CI][ci]](https://github.com/tree-sitter/tree-sitter-embedded-template/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-embedded-template)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-embedded-template)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-embedded-template)A [tree-sitter](https://github.com/tree-sitter/tree-sitter) parser for templating languages like [ERB](https://ruby-doc.org/stdlib-2.5.1/libdoc/erb/rdoc/ERB.html) and [EJS](http://ejs.co), in which scripting code can be embedded within text content using the delimiters `<%` and `%>`.
References
- [ERB Documentation](https://ruby-doc.org/stdlib-2.5.1/libdoc/erb/rdoc/ERB.html)
- [EJS Documentation](http://ejs.co/#docs)[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-embedded-template/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-embedded-template?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-embedded-template?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-embedded-template?logo=pypi&logoColor=ffd242