Q: Python 2.0 preliminary features?

Neel Krishnaswami neelk at brick.cswv.com
Mon Oct 18 21:11:29 EDT 1999


Michael Hudson <mwh21 at cam.ac.uk> wrote:
>On Mon, 18 Oct 1999, Jeremy Hylton wrote:
>> 
>> Suggestion for an interesting project if you don't have anything else
>> to do:  A Python compiler written in Python.  For starters, it could
>> just generate Python bytecode.  But it would seem much easier to do
>> analysis of Python code if we didn't have to muck with any C code to
>> do it.
>
>2) I really don't get on with parsing & high level semantic
>analysis. I've never poured much effort into it, but I certainly
>don't have any natural flair for it. [...] But your idea is
>definitely a nice one. I think I'm more suited to backends, me.

If you don't feel like parsing (and who does, really?), you can 
use the parser module to generate ASTs to munch on. 


Neel




More information about the Python-list mailing list