https://github.com/projectfluent/tree-sitter-fluent
Fluent grammar for tree-sitter
https://github.com/projectfluent/tree-sitter-fluent
Last synced: 9 months ago
JSON representation
Fluent grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/projectfluent/tree-sitter-fluent
- Owner: projectfluent
- License: apache-2.0
- Created: 2018-04-09T16:12:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T14:52:07.000Z (over 1 year ago)
- Last Synced: 2025-07-18T17:41:16.648Z (9 months ago)
- Language: C
- Size: 38.1 KB
- Stars: 7
- Watchers: 8
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-fluent
Fluent grammar for tree-sitter.
Modify the grammar by editing `grammar.js`. Recreate the generated files in `src` via
npm run build
npm test
Read the [documentation on tree-sitter](https://tree-sitter.github.io/tree-sitter/creating-parsers.html) for an introduction to the grammar and the DSL to generate it.
There are extensions to the DSL in grammar.js in `dsl`, to make the grammar more expressive and human readable.