https://github.com/6cdh/tree-sitter-racket
Racket parser for tree-sitter
https://github.com/6cdh/tree-sitter-racket
racket tree-sitter
Last synced: 11 months ago
JSON representation
Racket parser for tree-sitter
- Host: GitHub
- URL: https://github.com/6cdh/tree-sitter-racket
- Owner: 6cdh
- License: mit
- Created: 2022-05-22T12:15:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-17T04:50:47.000Z (about 1 year ago)
- Last Synced: 2025-05-17T05:25:04.219Z (about 1 year ago)
- Topics: racket, tree-sitter
- Language: Scheme
- Homepage:
- Size: 703 KB
- Stars: 31
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-racket
[](https://github.com/6cdh/tree-sitter-racket/actions/workflows/test.yml)
Racket grammar for tree-sitter.
This grammar only implements the Racket language with the default readtable.
## Status
It should be complete and compatible with Racket 8.9.
There are no plans to add support for new language currently.
## News
Starting from June 24, 2023, ([commit](https://github.com/6cdh/tree-sitter-racket/commit/989c3e631a7f2d87bb6a66a5394870aaeb6c56e7)) or release 0.3.0, the external scanner was written in C.
## Build and Try
You need
* nodejs
* a C compiler
then run
```shell
npm install
npx tree-sitter parse [filename]
```
## Usage
See [nodes.md](./nodes.md) for all visible nodes.
## Reference
Racket
- [The Racket Reader](https://docs.racket-lang.org/reference/reader.html)