https://github.com/ajeetdsouza/tree-sitter-lox
Lox grammar for tree-sitter
https://github.com/ajeetdsouza/tree-sitter-lox
incremental lox lox-language parser parsing tree-sitter wasm
Last synced: about 1 month ago
JSON representation
Lox grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/ajeetdsouza/tree-sitter-lox
- Owner: ajeetdsouza
- License: mit
- Created: 2023-04-23T13:20:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T16:33:18.000Z (about 2 years ago)
- Last Synced: 2025-03-31T08:51:16.213Z (3 months ago)
- Topics: incremental, lox, lox-language, parser, parsing, tree-sitter, wasm
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-lox
[](https://crates.io/crates/tree-sitter-lox)
A **[Lox](https://craftinginterpreters.com/) grammar** for the
**[tree-sitter](https://github.com/tree-sitter/tree-sitter) parsing library**.## Local setup
Install `tree-sitter-cli`:
```bash
cargo install tree-sitter-cli
```To generate bindings:
```bash
tree-sitter generate
```To run tests:
```bash
tree-sitter test
```## References
- [Crafting Interpreters](https://craftinginterpreters.com/appendix-i.html)