Better HN
topnewbestaskshowjobs
Log inSign up

julienvincent

2 karma · joined Sep 9, 2020 (6y ago) · 4 submissions

Submissions

1.

On Learning and LLMs(julienvincent.io ↗)

4 points · by julienvincent · 1mo ago · discuss

comment 9mo ago · link · parent

I've long been interested in using tree-sitter to highlight and format injected languages.

For a while I maintained some custom formatter logic in Neovim, which uses tree-sitter, to scratch this itch of mine.

I've since pulled this out into a standalone binary which is editor agnostic, and can be run during CI for linting.

It turned into a really nice way to define formatting rules in a language agnostic way, and gives a lot of control to teams who want to enforce formatting for code that contains a lot of embedded languages.

It's also extensible through WASM plugins.

I hope you enjoy!

3.

Pruner – A recursive, Tree-sitter powered formatter(pruner-formatter.github.io ↗)

1 points · by julienvincent · 9mo ago · 1 comment

comment 10mo ago · link · parent

https://julienvincent.io