Hacker News new | ask | show | jobs
by sacado2 2191 days ago
It's not only about the main compiler. Go has tons of third-party tools (linters mainly) that can parse go code, because it's so easy to write one. Most of them wouldn't exist if parsing was a PITA.
1 comments

Those almost universally use the "ast" package provided by the stdlib.