I'm increasingly persuaded that languages implementations should not expose an AST and probably shouldn't have it in the stdlib either.
Static analysis tools need a richer data structure, and want to parse different language versions. It's better as a standalone library.