News for hackers. Stuff that matters.
Re:Show HN: CodeRLM – Tree-sitter-backed code indexing for L... by d5ve on Thursday February 12, 2026 @12:39AM (#46985245)
I wonder how this sort of thing compares with asking claude to read a ctags file. I have git hooks set up to keep my tags up to date automatically, so that data is already lying around.
Re:Show HN: CodeRLM – Tree-sitter-backed code indexing for L... by HarHarVeryFunny on Thursday February 12, 2026 @08:58AM (#46988903)
ctags just gives you locations of symbol definitions.

TreeSitter will also give you locations of symbol usages, which is obviously very useful to an AI agent. You can basically think of Treesitter as having full syntactic knowledge of the code it is looking at - like a compiler's AST.

There is also a more powerful cousin of ctags, cscope (C/C++) and Pycscope (python) that additonally gives usage locations, and more, as well as gtags that does similar, but supports more languages.