I’m working on a tool that is a more token-efficient code search than grep. I don’t have hard numbers yet, but it’s been working for me to get longer sessions. https://github.com/ebcode/SourceMinder
SourceMinder: A “code index” tool that finds symbols in a codebase and creates a single table sqlite database for the index. It uses tree-sitter to parse the AST and add the symbols and what they are (function, class, argument, etc) to the db. I currently have it working with TypeScript, C, Go and PHP. I’m working on adding Perl next, after someone requested it here on HN.
Yep! Java, Perl, and Ruby are all on the to-do list. I’ll start with Perl since you asked. And it takes me about two weeks to implement a new language. Check back in January.
> A 10% improvement every month gets to be a 10x improvement in (math...)
1.1^24=9.85, so yeah, if you could reliably get a 10% speed-up each month, you’d get to 10x in roughly 2 years. (But I’d expect the speed-up per month to be non-linear.)
reply