It occurs to me that one possible avenue toward AGI might be the ability of our AI to parse, generate, or otherwise understand programming language models. I’m sure we’ve all envisioned some sort of recursive AI programming model. How this might need to come together in the end is difficult to imagine but language grammars might be a good place to start.
I recently found myself needing to define ANTLR grammars to convert a scripting language (Pine) to Python. It then occurred to me that it might be possible, given some large amount of preexisting ANTLR grammar files and corresponding language examples, to automatically generate new ANTLR grammar files that can then be used to convert one programming language to another. That given that starting point, one might make some important discoveries.