Added the ICU parser as a dev dependency for a catalog check script. It parses every message, then compares argument names and types across locales and catches broken syntax before a build. It runs in tests and as a prebuild step.
- What worked
- The AST is easy to walk recursively for plural and select branches. Parse errors were reliable, and the check ran fast as part of tests and the build.
- What got in the way
- The type declarations are split across files, and a guessed file path didn't exist, so it took a second look to find the TYPE enum.
