#treesitter — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #treesitter, aggregated by home.social.
-
Is there anywhere any "official" discussion about how to continue with nvim treesitter?
-
Is there anywhere any "official" discussion about how to continue with nvim treesitter?
-
Is there anywhere any "official" discussion about how to continue with nvim treesitter?
-
Is there anywhere any "official" discussion about how to continue with nvim treesitter?
-
Is there anywhere any "official" discussion about how to continue with nvim treesitter?
-
CodeGraph: граф кода для Claude Code вместо grep по файлам. Разбираю архитектуру и проверяю бенчмарки
Если вы работаете с Claude Code на больших проектах, знаете картину: задаёшь вопрос “как устроена авторизация” — и агент рекурсивно бегает по файлам через grep, жжёт токены и время. Я уже разбирал SocratiCode, который решает это через векторный поиск. CodeGraph идёт другим путём — строит граф символов через tree-sitter и хранит в SQLite. Разобрал архитектуру, проверил бенчмарки (92% меньше вызовов — правда, но с нюансами) и сравнил с альтернативами. Заодно поправил телеграм-маркетинг про выдуманного “агента Hermes”.
https://habr.com/ru/articles/1038474/
#Claude_Code #MCP #AIагенты #treesitter #SQLite #индексация_кода #CodeGraph #граф_кода
-
CodeGraph: граф кода для Claude Code вместо grep по файлам. Разбираю архитектуру и проверяю бенчмарки
Если вы работаете с Claude Code на больших проектах, знаете картину: задаёшь вопрос “как устроена авторизация” — и агент рекурсивно бегает по файлам через grep, жжёт токены и время. Я уже разбирал SocratiCode, который решает это через векторный поиск. CodeGraph идёт другим путём — строит граф символов через tree-sitter и хранит в SQLite. Разобрал архитектуру, проверил бенчмарки (92% меньше вызовов — правда, но с нюансами) и сравнил с альтернативами. Заодно поправил телеграм-маркетинг про выдуманного “агента Hermes”.
https://habr.com/ru/articles/1038474/
#Claude_Code #MCP #AIагенты #treesitter #SQLite #индексация_кода #CodeGraph #граф_кода
-
CodeGraph: граф кода для Claude Code вместо grep по файлам. Разбираю архитектуру и проверяю бенчмарки
Если вы работаете с Claude Code на больших проектах, знаете картину: задаёшь вопрос “как устроена авторизация” — и агент рекурсивно бегает по файлам через grep, жжёт токены и время. Я уже разбирал SocratiCode, который решает это через векторный поиск. CodeGraph идёт другим путём — строит граф символов через tree-sitter и хранит в SQLite. Разобрал архитектуру, проверил бенчмарки (92% меньше вызовов — правда, но с нюансами) и сравнил с альтернативами. Заодно поправил телеграм-маркетинг про выдуманного “агента Hermes”.
https://habr.com/ru/articles/1038474/
#Claude_Code #MCP #AIагенты #treesitter #SQLite #индексация_кода #CodeGraph #граф_кода
-
CodeGraph: граф кода для Claude Code вместо grep по файлам. Разбираю архитектуру и проверяю бенчмарки
Если вы работаете с Claude Code на больших проектах, знаете картину: задаёшь вопрос “как устроена авторизация” — и агент рекурсивно бегает по файлам через grep, жжёт токены и время. Я уже разбирал SocratiCode, который решает это через векторный поиск. CodeGraph идёт другим путём — строит граф символов через tree-sitter и хранит в SQLite. Разобрал архитектуру, проверил бенчмарки (92% меньше вызовов — правда, но с нюансами) и сравнил с альтернативами. Заодно поправил телеграм-маркетинг про выдуманного “агента Hermes”.
https://habr.com/ru/articles/1038474/
#Claude_Code #MCP #AIагенты #treesitter #SQLite #индексация_кода #CodeGraph #граф_кода
-
I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!
Public replies to this post will appear in a comments section under the blog post.
https://sitr.us/2026/05/03/embedded-sql-highlighting-in-neovim/
-
I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!
Public replies to this post will appear in a comments section under the blog post.
https://sitr.us/2026/05/03/embedded-sql-highlighting-in-neovim/
-
I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!
Public replies to this post will appear in a comments section under the blog post.
https://sitr.us/2026/05/03/embedded-sql-highlighting-in-neovim/
-
I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!
Public replies to this post will appear in a comments section under the blog post.
https://sitr.us/2026/05/03/embedded-sql-highlighting-in-neovim/
-
I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!
Public replies to this post will appear in a comments section under the blog post.
https://sitr.us/2026/05/03/embedded-sql-highlighting-in-neovim/
-
I decided to work on this #treesitter parser a little bit more and put together some documentation for it:
https://tree-sitter-fasta.jrhawley.ca/
This won't come as a surprise to software maintainers, but writing good documentation is hard! It takes a lot of time to make sure it's right and that things are understandable.
In this case, I found Tree-sitter's support across editors to be ... sparse. #HelixEditor is by far the easiest, which is why I've documented that one first.
-
I decided to work on this #treesitter parser a little bit more and put together some documentation for it:
https://tree-sitter-fasta.jrhawley.ca/
This won't come as a surprise to software maintainers, but writing good documentation is hard! It takes a lot of time to make sure it's right and that things are understandable.
In this case, I found Tree-sitter's support across editors to be ... sparse. #HelixEditor is by far the easiest, which is why I've documented that one first.
-
I decided to work on this #treesitter parser a little bit more and put together some documentation for it:
https://tree-sitter-fasta.jrhawley.ca/
This won't come as a surprise to software maintainers, but writing good documentation is hard! It takes a lot of time to make sure it's right and that things are understandable.
In this case, I found Tree-sitter's support across editors to be ... sparse. #HelixEditor is by far the easiest, which is why I've documented that one first.
-
I decided to work on this #treesitter parser a little bit more and put together some documentation for it:
https://tree-sitter-fasta.jrhawley.ca/
This won't come as a surprise to software maintainers, but writing good documentation is hard! It takes a lot of time to make sure it's right and that things are understandable.
In this case, I found Tree-sitter's support across editors to be ... sparse. #HelixEditor is by far the easiest, which is why I've documented that one first.
-
Experimenting what I can do with #treesitter and #AdaLang :)
```
(compilation (compilation_unit (subprogram_body (procedure_specification name: (identifier)) (handled_sequence_of_statements (null_statement)) endname: (identifier))))
``` -
Experimenting what I can do with #treesitter and #AdaLang :)
```
(compilation (compilation_unit (subprogram_body (procedure_specification name: (identifier)) (handled_sequence_of_statements (null_statement)) endname: (identifier))))
``` -
Experimenting what I can do with #treesitter and #AdaLang :)
```
(compilation (compilation_unit (subprogram_body (procedure_specification name: (identifier)) (handled_sequence_of_statements (null_statement)) endname: (identifier))))
``` -
Experimenting what I can do with #treesitter and #AdaLang :)
```
(compilation (compilation_unit (subprogram_body (procedure_specification name: (identifier)) (handled_sequence_of_statements (null_statement)) endname: (identifier))))
``` -
Experimenting what I can do with #treesitter and #AdaLang :)
```
(compilation (compilation_unit (subprogram_body (procedure_specification name: (identifier)) (handled_sequence_of_statements (null_statement)) endname: (identifier))))
``` -
#Emacs repeat-mode also combines really well with #expreg (expand-region). expreg looks like a worthy successor to Magnars' `expand-region` package, which many of us have grown to love.
I have it set so `C-c y` marks the semantic 'thing' at point, and subsequent presses of `y` or `u` expand or contract to the next semantic unit.
Works well out of the box. Should work even better if/when I get my head around #treesitter.
This is my config:
(repeat-mode 1)
(defvar expreg-expand-keymap
(define-keymap
"y" #'expreg-expand
"u" #'expreg-contract))(put #'expreg-expand 'repeat-map 'expreg-expand-keymap)
(put #'expreg-contract 'repeat-map 'expreg-expand-keymap)(global-set-key (kbd "C-c y") #'expreg-expand)
-
The Helix modal editor has built-in support for treesitter, but it only ships with some of the R queries: (syntax) highlight, injection, and locals. It does not have yet queries for text objects, tags, indentation or rainbow brackets. At least three of these are available elsewhere; I wonder how hard would it be to adapt those for Helix?
-
The Helix modal editor has built-in support for treesitter, but it only ships with some of the R queries: (syntax) highlight, injection, and locals. It does not have yet queries for text objects, tags, indentation or rainbow brackets. At least three of these are available elsewhere; I wonder how hard would it be to adapt those for Helix?
-
The Helix modal editor has built-in support for treesitter, but it only ships with some of the R queries: (syntax) highlight, injection, and locals. It does not have yet queries for text objects, tags, indentation or rainbow brackets. At least three of these are available elsewhere; I wonder how hard would it be to adapt those for Helix?
-
The Helix modal editor has built-in support for treesitter, but it only ships with some of the R queries: (syntax) highlight, injection, and locals. It does not have yet queries for text objects, tags, indentation or rainbow brackets. At least three of these are available elsewhere; I wonder how hard would it be to adapt those for Helix?
-
A Better R Programming Experience Thanks to Tree-sitter
https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
#HackerNews #RProgramming #TreeSitter #CodingExperience #DataScience #SoftwareDevelopment
-
A Better R Programming Experience Thanks to Tree-sitter
https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
#HackerNews #RProgramming #TreeSitter #CodingExperience #DataScience #SoftwareDevelopment
-
A Better R Programming Experience Thanks to Tree-sitter
https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
#HackerNews #RProgramming #TreeSitter #CodingExperience #DataScience #SoftwareDevelopment
-
A Better R Programming Experience Thanks to Tree-sitter
https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
#HackerNews #RProgramming #TreeSitter #CodingExperience #DataScience #SoftwareDevelopment
-
A Better R Programming Experience Thanks to Tree-sitter
https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
#HackerNews #RProgramming #TreeSitter #CodingExperience #DataScience #SoftwareDevelopment
-
@technomancy @mcc It's as if they looked at the existing problems and requirements, and then tried coming up with the dumbest "solutions" just for shits and giggles.
Even if I tried, I wouldn't be able to come up with the sheer density of painfully wrong decisions they made.
It's all "I'd love to understand the state of their mind that led them to believing that shit to be a valid design/engineering option" the way down.
-
@technomancy @mcc Treesitter is the biggest engineering and design trash fire that I have seen in a long time.
If I had to give people advice on how to tackle the problem of grammars and editor support, I'd point them to TreeSitter and tell them to *not* do that.
-
It's sad to see that nvim-treesitter has been archived, but I do respect the decision. Made sure to report the loser who lead to the project being archived. Hopefully GitHub takes action against people like this.
#Neovim #TreeSitter #NeovimTreeSitter #NvimTreeSitter #OpenSource
-
Mental fatigue when maintaining FLOSS projects, illustrated.
https://github.com/nvim-treesitter/nvim-treesitter/discussions/8627 -
📰 nvim-treesitterが消えた今、その役割を改めて整理する (👍 23)
🇬🇧 After nvim-treesitter was archived, this article reviews what the plugin actually handled in Neovim and what changes now that it is gone.
🇰🇷 nvim-treesitter가 아카이브된 뒤, 이 글은 그 플러그인이 Neovim에서 맡아온 역할과 사라진 이후 달라지는 점을 정리합니다.🔗 https://zenn.dev/glmlm/articles/neovim-treesitter-archived-20260406
-
This makes me sad. People think that open-source developers work for them and they can demand something. That's just a wtf.
@lobsters https://mastodon.social/@lobsters/116347916506405813
-
Wow, this escalated quickly. The TreeSitter repo was archived by its owner, apparently after the linked conversation. The tldr: TreeSitter was never supposed to be stable yet, a user demanded that it stays compatible neovim v0.11 and I think this user must be using Debian :/
#neovim #treesitterhttps://github.com/nvim-treesitter/nvim-treesitter/discussions/8627#discussioncomment-16440673.
-
@almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?
-
@almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?
-
@almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?
-
@almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?
-
@almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?
-
I'm rebuilding #zedless from the ground up. Editing the source code directly made it impossible to keep up with upstream due to the hundreds of merge conflicts I would encounter with every update. Now I'm switching to AST editing with #astgrep and #treesitter.
The patch code is available at https://github.com/zedless-editor/zedless-patches. In its current state, it can build Zed v0.225.10 with reduced telemetry, no auto updates, and some of the proprietary AI integrations removed.
The plan is to get rid of all telemetry and nuisances such as upsell popups, as well as all online functionality that is specifically tied to a particular provider, leaving you with an editor that stays out of your way and doesn't rely on any services you couldn't host yourself.
#texteditors #zed #spyware #antifeatures #foss -
I wrote a short post with my thoughts on #emacs #ESS and why I created ESR, my tree sitter mode for R. After 10 years doing #rstats programming in ESS, I finally managed to move away from it.
Particularly thankful to #treesitter and its Emacs implementation.
-
expreg is a great alternative to expand-region, that's #TreeSitter aware. I can't believe I didn't discover it earlier! (technically speaking - I discovered it last year, but I forgot to update my init.el to actually use it :D )
Read more about it here https://emacsredux.com/blog/2026/03/03/expreg-expand-region-reborn/
-
Grep-AST или Как мы заменили векторный поиск всего одной библиотекой
Всем привет! На связи София из команды применения больших языковых моделей ecom.tech . Сегодня хочу поделиться одной малоизвестной библиотекой, которую мы волей судьбы откопали на просторах github, попробовали использовать для поиска по нашей кодовой базе, и, о чудо! Это ощутимо помогло нам. Казалось бы, такой маленький шаг для человечества, но такой полезный для нашего проекта.
https://habr.com/ru/companies/ecom_tech/articles/1005610/
#grepast #ast #llm #rag #python #treesitter #reverse_engineering #llmмодели #embeddings #code_search
-
I’ve published a #TreeSitter grammar for the NSPredicate syntax: https://github.com/Formkunft/tree-sitter-cocoa-predicate
Together with my tree-sitter-property-list package, I am cornering the open-source market for quaint Apple programming languages.