tree-sitter-dart
tree-sitter-dart copied to clipboard
Attempt to make a tree-sitter grammar for dart
The following program is also segfaulting on my machine (cf. #55) ```dart // ... const program = r""" void main() { b(() { var c = []; set.f(g.h); i(j, k(['l',...
There seems to be a memory leak somewhere. - When parsing 50k files with the analyzer, the memory usage peaks at roughly 1.2 GB. - With tree-sitter-dart, at around file...
In an abstract class, the `final` keyword is assigned the error `@error.dart` when placed after `abstract`. 
In helix-editor/helix (which uses UserNobody14/tree-sitter-dart), enhanced enums break syntax highlighting in the remainder of the file ```dart enum TapActionButton { right('right'), left('left'); final String keys; const TapActionButton(this.keys); static TapActionButton fromKey(String...
If a class is not generic, or it is generic but the generic type is not defined, the creation of an object of that class is not recognized. I use...
Here https://mingodad.github.io/lua-wasm-playground/ there is an easier/cleaner way to write tree-sitter grammars like `Dart` (select `Tree-sitter-ebnf-generator-Dart` from `Examples` then click `Run` to see a full commented out `grammar.js` from the `EBNF`...
The following code generates an error at `outer:` when parsed with tree-sitter-dart, yet it is valid code. Strangely commenting out the `import` makes it pass ``` import 'package:meta/meta.dart'; void func()...
closes: #63 Tag query is important for support tree-sitter based CLI tools like below: * [aider.chat](https://aider.chat/) : Open source copilot chat alternative, which generates repo-map based on treesitter tag query...