Challenges when writing gren-format
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.