[Python-3000] parser/compiler interface [was Re: compiler module]
Jean-Paul Calderone
exarkun at divmod.com
Fri Jan 11 17:12:38 CET 2008
On Fri, 11 Jan 2008 16:02:53 +0100, Georg Brandl <g.brandl at gmx.net> wrote:
>
>Python's code parsing/compiling interface is currently very cluttered:
>* you can parse things with parser.suite(), but not create an AST from
> the parse result
>* you can create an AST with an undocumented flag to compile(), but not
> compile the resulting AST
>* there are too many modules that have to do with parsing and compiling:
> token, symbol, parser, _ast, symtable
>
>I'd suggest a single package to unify all this functionality and an API
>that makes it easy to go from every compiling stage to the next, or to
>the final code object.
+alot
Jean-Paul
More information about the Python-3000
mailing list