Data For tree-sitter/tree-sitter

Only showing last 50 predictions


# Title Body Link Prediction Confidence Labeled?
767 field not generated? I have this: ``` module.exports = grammar({ name: 'a', rules: { a: $ =>... bug 0.63 True None None
763 Sparql grammar is slow to generate I am writing a grammar for [sparql](https://github.com/BonaBeavis/tree-sitter-sparql) and... bug 0.55 True None None
761 How to specify run-time non-associative rules `tree-sitter`, like `yacc`, provides users with the option to give a rule left, right, or... feature_request 0.6 True None None
760 Double quote token on highlight file ```scheme "\"" @punctuation.delimiter ``` Produces the error following error... bug 0.92 True None None
759 Allow matching on node type with out specifing the complete subtree Currently, you can match complete subtrees using the alternate syntax `[ ]`... feature_request 0.91 True None None
758 RGB color on tree-sitter highlight ```json { "parser-directories": [ "/home/alemuller/git" ], "theme": { ... bug 0.59 True None None
757 Fails to link in release builds (0.17.0, highlight 0.3.0) With rustc 1.47, with a release build, I'm getting tons of linker errors related to... bug 0.97 True None None
756 tree-sitter grammar for sparql I am currently writing a grammar for [sparql](https://github.com/BonaBeavis/tree-sitter-sparql).... feature_request 0.76 True None None
755 Unexpected behaviour of ts_node_child_by_field_name # Given Tree-sitter grammar -... bug 0.92 True None None
754 Grammar for corpus test files Does a parser/highlighter for corpus test files exist somewhere, if not, it would be nice to have. feature_request 0.59 True None None
752 Commentary in test files Allow (or document) commentaries in test file (`corpus/*`). Commentaries can be useful to... feature_request 0.95 True None None
750 Query syntax for consecutive sibling nodes? The documentation seems to be incorrect or I am misinterpreting it. ``` Grouping Sibling... feature_request 0.44 False None None
747 Tree-sitter for highlighting code in cli Is it possible to use tree-sitter as an highlighter in a terminal, like... feature_request 0.8 True None None
745 Panic when `extras` field is not a list Ran into this: ``` [stdin]:295 .map(normalize); ^ TypeError:... bug 0.99 True None None
744 Panic when `tree-sitter parse` is given nonexistent file ``` thread 'main' panicked at 'called `Option::unwrap()` on a `None` value',... bug 0.77 True None None
742 Extension host terminated unexpectedly. Any idea what this can... question 0.45 False None None
741 Allow `tree-sitter parse` to collect information about error percentages when parsing multiple files It’s often useful to run `tree-sitter parse -q somedir/** | wc -l` to see how many files in a... feature_request 1.0 True None None
740 npm distributions This is more a question than anything. I can see that last published npm version of... question 0.62 True None None
739 Custom memory allocation function I would like to use Tree-sitter in a multi-process application and "cache" parsed Tree in the... feature_request 0.78 True None None
737 discuss # issue no. #736 question 0.61 True 0 0
736 🔥Bot is not confident enough to auto-label this issue. See [dashboard](https://mlbot.net/data/tree-sitter/tree-sitter) for more details. Issue Label Bot is not confident enough to auto-label this issue. See... bug 0.62 True 0 0
734 Project setup Hello, I have tried to follow the Project Setup... question 0.57 False 0 0
732 tree-sitter highlight has does not find the language. I wanted to try out `tree-sitter highlight` but it seems like it has a near impossible time... bug 0.88 True 1 0
731 Help with assembly grammar Hi, I was wondering if you could help me figure out how to make a grammar for assembly,... question 0.66 True 1 0
730 generated files out of source control trees From what I've read in several places (eg... feature_request 0.35 False 0 0
728 tree-sitter-highlight should allow ranges and passing in the previous tree I see that there's a `ranges` parameter that's not exposed on `highlighter.highlight`:... feature_request 0.66 True 1 0
727 Document fuzzy-code-nav tag conventions I don’t think we document the details of how tree-sitter queries are used in imprecise tagging;... feature_request 0.76 True 0 0
726 Potential for generating LSPs? I was wondering if it was feasible for tree-sitter to auto generate LSPs, or auto generate... feature_request 0.67 True 0 0
725 How to extract [Python, Java, Go, …] methods/function metadata? Using the following code snippet as an example: ```python def sum(a, b): """ Calculates... question 0.9 True 1 0
724 Cannot parse multi `catch` statement when `catch` keyword written after `\n` I'm doing some work based on [tree-sitter-kotlin](https://github.com/fwcd/tree-sitter-kotlin) .... bug 0.6 True 1 0
720 Could not identify python docstring? Using the following code snippet in [Syntax Tree... bug 0.9 True None None
718 "cargo build" fails on master I get this failure on master, tried both latest stable and nightly rust (or rather a few nights... bug 0.97 True 1 0
717 Support custom text decoding function I've been working on [a text editor](https://github.com/lukedan/codepad) that handles raw binary... feature_request 0.94 True 1 0
714 C trigraphs need to be escaped on some platforms Summary: we should escape C string literals in a way that avoids two consecutive `?`. The C#... bug 0.86 True 1 0
712 Parsing the empty string twice, while trying to use the previous tree leads to an assert failure In the rust program I mentioned in #530, I recently started trying to actually pass down the... bug 0.93 True 1 0
711 Set start rule for more concise tests Each test in a test file start parsing in the context of the top level rule and this works well... feature_request 0.91 True 2 0
710 Generated files in git repos are too big for us [Here is a copy](https://github.com/returntocorp/tree-sitter-javascript-slim) of... bug 0.44 False 0 0
709 Graphviz generation sometimes fails with syntax error for dot I think it has something to do with whitespace literals-- probably something needs to be escaped... bug 0.97 True 0 0
707 TypeScript .d.ts file generator Hi 👋 I wrote a mapping from `node-types.json` to TypeScript `.d.ts` files here... feature_request 0.82 True 0 0
706 Immediate tokens and words I'm trying to define strings for my language, by doing ```js string: $ => choice( ... feature_request 0.53 True 0 1
705 Adding a not quantifier. It would be awesome to have some kind of `not` operator within queries. As discussed... feature_request 0.7 True 2 0
704 Document some extra syntax for queries The documentation is missing `[(node) (node)]`, I'm assuming it's like an or? Documentation for... feature_request 0.78 True 0 0
703 console.log() in module causes some cryptic error Hey, folks! First of all, I apologize for my ignorance... My guess is that this bug is happening... bug 0.82 True 0 0
702 Rule order matters but is not documented This simple grammar behaves differently depending on whether `alpha` is defined before `content`... bug 0.72 True 0 0
701 Incorrect parse with non-terminal extra Firstly, as far as I can understand this is not the same bug with #637, but I am not completely... bug 0.75 True 1 0
700 Empty string as input to choice causes `parse` to hang Example: ```js boolean_literal: $ => choice('true', 'false', '') ``` Would be nice if... bug 0.83 True 1 0
699 400+ terminal rules seams slow to generate I have tried to convert a antlr grammar into a tree-sitter grammar. The original grammar had one... feature_request 0.38 False 0 0
697 Context-aware associativity? I'm trying to add `function_expression` to the Scala grammar. It seems like the associativity... feature_request 0.72 True 0 1
695 Regression when using the field() function in grammar. ```node.js module.exports = grammar({ name: 'test', rules: { rgb_color: $ =>... bug 0.98 True 1 0
694 Parser performance in context of rules simply pointing to other rules Right now I have some rules that add nothing new, they just point to other rules.... feature_request 0.52 True 0 1