Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rest-nvim/tree-sitter-http
HTTP grammar for tree-sitter
https://github.com/rest-nvim/tree-sitter-http
http parser tree-sitter
Last synced: 2 months ago
JSON representation
HTTP grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/rest-nvim/tree-sitter-http
- Owner: rest-nvim
- License: mit
- Created: 2021-08-15T12:43:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T09:23:54.000Z (4 months ago)
- Last Synced: 2024-09-16T10:57:53.759Z (4 months ago)
- Topics: http, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 1.08 MB
- Stars: 32
- Watchers: 4
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP tree-sitter parser
HTTP grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter)
# How to contribute
You can get a development environment with
`nix develop`
then run:
```
npm install
make build
```Neovim loads parser in runtimepath order so to test the generated grammar,
prepend it to rtp with `set rtp^=/path/to/tree-sitter-http`.# Tasks
- [x] variable
- [x] comment
- [x] request
- [x] method
- [x] target_url
- [x] scheme
- [x] authority
- [x] host
- [x] path /
- [x] query ?
- [x] fragment #
- [x] http-version
- [x] params
- [x] response
- [x] header
- [x] body
- [x] json
- [x] xml
- [x] file
- [x] graphql
- [ ] cli