GustavoKatel / tree-sitter-http

HTTP grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP tree-sitter parser

HTTP grammar for 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

  • variable
  • comment
  • request
    • method
    • target_url
      • scheme
      • authority
      • host
      • path /
      • query ?
      • fragment #
    • http-version
    • params
    • response
    • header
    • body
      • json
      • xml
      • file
      • graphq
  • cli

About

HTTP grammar for tree-sitter

License:MIT License


Languages

Language:JavaScript 83.3%Language:Scheme 11.1%Language:Nix 5.6%