I'm finding that it's easier to write static analysis tools for language X in language X. It's less to think about. I've been writing an analysis for JS. I really like working with typescript but it's been easier to prototype if I dogfood.