Trending

#TreeSitter

Latest posts tagged with #TreeSitter on Bluesky

Latest Top
Trending

Posts tagged #TreeSitter

Preview
expreg: Expand Region, Reborn expand-region is one of my all time favorite Emacs packages. I’ve been using it since forever – press a key, the selection grows to the next semantic unit, press again, it grows further. Simple, usefu...

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 emacsredux.com/blog/2026/03...

#Emacs

9 2 2 0
Preview
Building Emacs Major Modes with TreeSitter: Lessons Learned Over the past year I’ve been spending a lot of time building TreeSitter-powered major modes for Emacs – clojure-ts-mode (as co-maintainer), neocaml (from scratch), and asciidoc-mode (also from scratch...

I've converted some random dev notes I had lying around from working on clojure-ts-mode, neocaml and asciidoc-mode to a blog post with some general advice for building #Emacs major modes powered by #TreeSitter batsov.com/articles/202...

I hope you'll find it useful!

5 0 3 0
Preview
GitHub - bbatsov/asciidoc-mode: A modern Emacs major mode for editing AsciiDoc files, powered by TreeSitter A modern Emacs major mode for editing AsciiDoc files, powered by TreeSitter - bbatsov/asciidoc-mode

I've put together asciidoc-mode (github.com/bbatsov/asci...) - a super lean major #Emacs mode for editing #AsciiDoc documents, powered by #TreeSitter

It's a lighter and simpler alternative to the more established adoc-mode (also maintained by yours truly), that I've been meaning to do for a while.

6 0 0 0

I wish for a future where #vim motions are a inbuilt feature with support for #treesitter in @vscode.dev

0 0 0 0
Explainer: Tree-sitter vs. LSP I got asked a good question today: what is the difference between Tree-sitter and a language server? I don’t understand how either of these tools work in depth, so I’m just going to explain from an ob...

“Explainer: Tree-sitter Vs. LSP”, Ashton Wiersdorf (lambdaland.org/posts/2026-0...).

Via HN: news.ycombinator.com/item?id=4671...

On Lobsters: lobste.rs/s/qhickw/exp...

#LSP #TreeSitter #LanguageServerProtocol #Editors #SyntaxHighlighting #Parsers #Parsing

0 0 0 0
Video

"I'll just whip up a quick #TreeSitter grammar for #asciidoc highlighting in #HelixEditor", he said ...

1 0 0 0
Preview
GitHub - DuskSystems/tree-sitter-cedar: Cedar grammars for tree-sitter. Cedar grammars for tree-sitter. Contribute to DuskSystems/tree-sitter-cedar development by creating an account on GitHub.

Created some tree-sitter grammars for Cedar and CedarSchema: github.com/DuskSystems/...

#treesitter #cedar

0 0 0 0

Programming language maintainers: where all do you submit your #treesitter highlight queries? So far I'm tracking Neovim, Zed, and Helix.

0 0 0 0
Screenshot of a text bubble  on the fasterthanli.me website

Those themes do not appeal to my personal aesthetic, but | decided that
consistency was the most important imperative here.

Screenshot of a text bubble on the fasterthanli.me website Those themes do not appeal to my personal aesthetic, but | decided that consistency was the most important imperative here.

Thank you @fasterthanlime that's how it should be done.

context: fasterthanli.me/articles/my-gift-to-the-...

#Rustlang #Rust #Theming #TreeSitter

4 2 1 0

Please help making #TreeSitter Playground better by doing this little experiment:


tree-sitter.github.io ->

Write some JS, like `var x=1;`. Enable Query and provide the `(identifier) @foo` pattern in the new Query textbox.

Do you see the code
1/2

0 0 1 0
A tree-sitter run produces highlighted code and a concrete syntax tree

A tree-sitter run produces highlighted code and a concrete syntax tree

Almost got the #Treesitter grammar working!

github.com/morloc-proje...

Just needs a little cleaning and testing. Next I can do a little PR to GitHub and then will finally have colors in my repo code. This also can be used in editors like Zed and Neovim.

0 0 1 0

Alternative methods like tree-sitter build a full parse tree, enabling far more accurate and context-aware highlighting. Semantic token generation, often from language servers, offers another layer of precision. #TreeSitter 6/6

0 0 0 0

Real-time updates, syntax-aware chunking.
Production-ready. Ultra-performant. Fully #OpenSource.

#LLM #RAG #AIForCode #CodeSearch #DevTools #RealtimeAI #OpenSource #AIInfra #Rust #Python #TreeSitter #VectorDB #Embeddings #AIEngineering #GenerativeAI #Codex #CodingAgents #Claude #Cursor

5 1 0 0

Are there any Neovim users working with 11ty? I’m having a bit of difficulty getting a Jinja2 Treesitter parser setup.

Everything else is working properly, I’m just having trouble with syntax highlighting for the HTML parts in .njk files.
#Neovim #11ty #Jinja2 #Treesitter

0 0 1 0
Original post on sunny.garden

I finally got around to wrapping up and publishing a first version of my #Rust crate ts-typed-ast. It's a crate inspired by Rowan that automatically generates a typed AST from a tree-sitter grammar. You can find it here: https://crates.io/crates/ts-typed-ast

It works similarly to Rowan and […]

0 0 0 0

No!
We the people do not want this irreparable harm done.

Old growth forests especially must be protected.

In the spirit of Julia Butterfly Hill we must disrupt government plans and get in the way.

#Treesitter
#Trees
#SaveourForests
#ClimateScience
@altnps.bsky.social
@altyellonatpark.org

3 0 1 0
GitHub - bbatsov/neocaml: A modern, TreeSitter-powered, Emacs major mode for OCaml A modern, TreeSitter-powered, Emacs major mode for OCaml - bbatsov/neocaml

With #Emacs 30 recently released I finally felt that the time has come to go all in on #TreeSitter. (I am rarely an early adopter of anything these days) Over the weekend I had a lot of fun playing with TreeSitter and I started a prototype of an #OCaml major mode using it github.com/bbatsov/neoc...

11 0 0 0

There is a new lua-ts-mode now, but treesit-install-language-grammar doesn’t know about Lua (i.e. there is nothing at the default path to a repository). What do I do? 🤔

#lang_en #emacs #treesitter #questions

0 0 0 0

You'll read everywhere that regex highlighting is slow compared to treesitter ,

and yet if you open a 1.5 Millon line C file ( I simply wanted to look into the internels of a treesitter parser) #neovim will grind to halt if #treesitter is enabled, but is a breeze for the default highlighter.

0 0 1 0
A close-up of a NeoVim window, showing the blink-cmp autocomplete menu with a list of snippets. On the right is a preview of the snippet.

A close-up of a NeoVim window, showing the blink-cmp autocomplete menu with a list of snippets. On the right is a preview of the snippet.

A close-up of a NeoVim window, showing the blink-cmp autocomplete menu with a list of functions. On the right is the name of the unit that the currently selected function is in.

A close-up of a NeoVim window, showing the blink-cmp autocomplete menu with a list of functions. On the right is the name of the unit that the currently selected function is in.

#Pascal autocomplete and snippets in #NeoVim? Don't mind if I do!

This is thanks to blink-cmp, using the snippets JSON file from the Pascal plugin for #VSCode, plus the pasls #LSP, and #Treesitter.

The LSP is incomplete, but it's better than nothing.

#LazyVim #ObjecPascal #FreePascal

2 0 0 0

It sucks that you can't write #treesitter queries across injected languages, nor pass parameters between languages :/ for situations like that

0 0 1 0
GitHub - tree-sitter/tree-sitter: An incremental parsing ... An incremental parsing system for programming tools - tre...

Take a look at #treesitter, and see if we can extend it to support solidity parsing.

https://github.com/tree-sitter/tree-sitter

0 0 0 0