For Planck, I needed to build an index on the Google Closure sources.
So I did so, by hacking together some regexs on
Only recently did I learn that my "hack" was essentially already in ClojureScript. Spookily even down to the aspects of prefixing with "goog/" and memoizing the hack fn:
Planck's memoized hack: here
ClojureScript's equivalent: here