12 Jan
2025
12 Jan
'25
2:31 p.m.
Hi Paul, I tried again to get your code running for me. If I replace tree-sitter-context.pc by tree-sitter.json (attached), then the tree-sitter CLI recognizes the parser. The npm module (to be called as "npx tree-sitter") doesn’t care about the .pc file, but the cli package binary seems to expect a directory by that name. Now I can call the parser with a .tex file, and the process hogs 99% CPU and all RAM (>20GB) quickly. I needed several attempts to even kill it. That doesn’t look right. Hraban