Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/6cdh/tree-sitter-racket
Racket parser for tree-sitter
https://github.com/6cdh/tree-sitter-racket
racket tree-sitter
Last synced: 3 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T02:46:33.000Z (5 months ago)
- Last Synced: 2024-10-28T09:23:50.174Z (3 months ago)
- Topics: racket, tree-sitter
- Language: Scheme
- Homepage:
- Size: 644 KB
- Stars: 31
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-racket
[![Test](https://github.com/6cdh/tree-sitter-racket/actions/workflows/test.yml/badge.svg)](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 compilerthen 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)