Remix.run Logo
jbreckmckye 4 hours ago

Interesting. I have a similar usecase but intended to use CGo tree-sitter with Zig

Are these pretty up-to-date grammars? I'm awfully tempted to switch to your project

How large are your binaries getting? I was concerned about the size of some of the grammars

odvcencio 4 hours ago | parent [-]

206 binary blobs = 15MB, so not crazy but i built for this use case where you can declare the registry of languages you want to load and not have to own all the grammar binaries by default

jbreckmckye 4 hours ago | parent [-]

If all the languages together add up to 15MB that is a game changer for me.

It means the CLI I am working on can ship support for many languages whilst still being a smallish (sub 50mb) download

I shall definitely check it out!

odvcencio 4 hours ago | parent [-]

re: up to date grammars, yes i found the official grammars in use by the original tree-sitter library today