Robert Bradshaw wrote: > On May 29, 2008, at 7:10 PM, rahul garg wrote: >> b) Cython does not construct ASTs Parse trees are used as the >> internal representation and Cython appears to be generating code >> directly from parse trees currently. Is this correct? I also see >> that there are proposals to add ASTs , construct control flow graph >> as well as for an explicit symbol table. >> > That is correct, though the resulting tree is not strictly the parse > tree--the parser does some analysis, many of the leaf nodes (e.g. > decelerator nodes) get recorded as node attributes, and there is the > possibility of tree transformations.
How does it differ from an AST then? Best, Martin _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
