measure: lizard and tree-sitter-language-pack against our function-span engines

610 pair files, 570 labelled functions. lizard matches the parser engine on
C, Python and Java but loses JavaScript names and TypeScript end lines:
keep ours, take its cyclomatic complexity as a feature candidate.
tree-sitter-language-pack gives identical spans, is faster, replaces six
grammar wheels with one and adds Go, Ruby, PHP and Perl: adopt as grammar
packaging. Also found: .c files should try the c grammar before cpp.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Marius Ciepluch
2026-10-13 12:18:57 +02:00
co-authored by Claude Fable 5.1
parent 5d1d6f61d0
commit 108dc2e5f3
4 changed files with 1643 additions and 4 deletions
File diff suppressed because it is too large Load Diff