DigiNews

Tech Watch by Johan Denoyer

← Back to articles

How to not write parsers

Quality: 8/10 Relevance: 9/10

Summary

A technical blog post arguing for avoiding hand-crafted parsers by using tree-sitter with grammars and queries. It explains the parser pipeline (parse, match, fold), discusses constraints like check-queries and golden tests, and cites a real project that extends tree-sitter grammars for Haskell-related files.

🚀 Service construit par Johan Denoyer