https://github.com/inferara/tree-sitter-inference
Inference Grammar for tree-sitter
https://github.com/inferara/tree-sitter-inference
inference parser tree-sitter
Last synced: about 2 months ago
JSON representation
Inference Grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/inferara/tree-sitter-inference
- Owner: Inferara
- License: gpl-3.0
- Created: 2024-06-08T16:03:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-10T10:56:23.000Z (10 months ago)
- Last Synced: 2025-08-10T12:33:47.555Z (10 months ago)
- Topics: inference, parser, tree-sitter
- Language: JavaScript
- Homepage: https://inferara.com
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-inference
[![CI][ci]](https://github.com/Inferara/tree-sitter-inference/actions/workflows/ci.yml)
[![crates][crates]](https://crates.io/crates/tree-sitter-inference)
Inference grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter) based on Inference Language spec.
## Development
For the simplifying development and testing process the number of `npm` scripts is provided.
It can be used with the following options:
- `b` build the grammar
- `t` test the grammar with the test files in `test/corpus`
- `bt` build and test the grammar
- `te` run parse with the latest grammar build on the `example.inf` file
## References
- [Inference Language spec](https://github.com/Inferara/inference-language-spec)
[ci]: https://img.shields.io/github/actions/workflow/status/Inferara/tree-sitter-inference/ci.yml?logo=github&label=CI
[crates]: https://img.shields.io/crates/v/tree-sitter-inference?logo=rust