tree-sitter-jq
tree-sitter-jq copied to clipboard
tree-sitter grammar for jq
if we want to use this in emacs, it will need to better represent the [tree-sitter-hl](https://github.com/emacs-tree-sitter/elisp-tree-sitter/blob/master/lisp/tree-sitter-hl.el) node names. jq is a little weird as a quasi-concatenative language, so its grammar...
This should have some basic docs: - dev environment with nix - methodology (mostly reflecting parser/bit of lexer in gojq because it was easier to figure out precedence there, but...
Thank you for creating this library! I'm currently working on a JSON tree viewer with jq queries, and I found your parser on tree-sitter's Github Pages site. It would be...
Notice the `MISSING "."`. I've tried and failed to figure out how to make the query optional, usually end up with warning about matching empty string. Also tried to use...
Was added in jq 1.8 https://github.com/jqlang/jq/releases/tag/jq-1.8.0 (https://github.com/jqlang/jq/pull/2989) I'm new to tree-sitter so maybe there is a better way?