DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Challenges when writing gren-format

Quality: 8/10 Relevance: 9/10

Summary

The Gren formatter article explains the challenges of building a code formatter, including relying on the compiler's parser, handling comments placement, idempotency, testing without a formal spec, and cross-format comparisons with elm-format. It emphasizes design decisions like a position barrier and storing decisions to ensure stable formatting.

🚀 Service construit par Johan Denoyer