tree-sitter-jq icon indicating copy to clipboard operation
tree-sitter-jq copied to clipboard

tree-sitter grammar for jq

Results 6 tree-sitter-jq issues
Sort by recently updated
recently updated
newest added

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?