Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-23T16:33:18.000Z (over 1 year ago)
- Last Synced: 2024-10-04T16:43:50.004Z (about 1 month ago)
- Topics: incremental, lox, lox-language, parser, parsing, tree-sitter, wasm
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-lox
[![crates.io](https://img.shields.io/crates/v/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)