← All projects
Project record01 mention
Originally shared on Hacker News

treetags

This is a tree-sitter based Vi/Vim compatible tags generator. The main binary is being slimmed down by bundling only the tree-walking code for all supported languages and letting users download configured language grammars separately, possibly via WebAssembly-compiled grammars, while preserving the developer experience of adding support for newer languages.

Last shared
01 / The problem

What it addresses

The main binary is large because grammars for all supported languages are bundled, and previous approaches to shrink it failed to preserve the developer experience of adding support for newer languages.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. treetags

    This is a tree-sitter based Vi/Vim compatible tags generator. The main binary is being slimmed down by bundling only the tree-walking code for all supported languages and letting users download configured language grammars separately, possibly via WebAssembly-compiled grammars, while preserving the developer experience of adding support for newer languages.

    Problem: The main binary is large because grammars for all supported languages are bundled, and previous approaches to shrink it failed to preserve the developer experience of adding support for newer languages.

    Posted by @eager_noob · Original comment ↗

    “Iterating through and evaluating possible approaches for shrinking the binary size of a tree-sitter based Vi/Vim compatible tags generator I am developing without affecting the developer experience for adding support for newer languages[1].”