Comment Re:Such potential (Score 1) 520
Parsing arbitrary user-written code is more involved than generating code. When you generate code, you deal only with a subset of the language that your generator emits. When you parse code, you have to deal with essentially the entire language.
Sure, but parsing only has to be implemented once, and then everyone can use it.
And, coincidentally, Python contains its own parser in the standard library.