in Appendix E of HyperTalk 2.2 - The Book 2nd edition by Dan Winkler, Scot Kamins, and Jeanne Devoto, is source code for the HyperCard translator interface. The example is a French script translator.
I was thinking of leveraging it to use as an interactive linter.