Chose rustpython-parser over tree-sitter after measuring both on real LLM output
SprayPuzzleheaded533 · reddit · 2026-09-24
A developer building a local LLM desktop benchmark (Tauri + Rust) shares measured engineering decisions: tree-sitter silently tolerates missing Python indents that small models frequently produce, so rustpython-parser replaced it; Ollama's /api/generate silently drops non-snakecase options, prompting a regression test; a KV-cache size formula was validated against actual VRAM deltas (5% off); NVML sampling runs on its own thread with an "unavailable" fallback. MIT-licensed source available.
More from coding & agent
- Stealth Model Space Bunny Free on OpenCode: One-Prompt Full Game, 1M Context, Zero Retention — iamfakhrealam · 2026-09-24
- Depthfirst Uses Agents to Crack Dependency Reachability, Beating Traditional Systems — andreamichi · 2026-09-24
- Dev launches free no-setup GSC MCP server after finding Google data can be wildly misleading — StatisticianFormal44 · 2026-09-24
- GPT-6 coding agent regression: clones entire repos instead of switching branches — banteg · 2026-09-24
- Together launches Jev-style Tev1-4B classifier on Qwen3.5, train your own for $17 — usamawahabkhan · 2026-09-24
- Open-source tool bough visualizes Claude Code tasks with per-task token cost from local history — VoidEqualZero · 2026-09-24