incremental parsing of Python

Shae Erisson shapr at uab.edu
Thu Jun 15 11:46:11 EDT 2000


Shae Erisson wrote:
> 
> Mark Hammond wrote:
> [snip explanation of the difficulties of correct code completion]
> 
> > So if anyone can come up with generic code that can do this, all current
> > and future IDEs for Python could benefit.
> >
> > Mark.
> 
> If the python parser could be hacked up into an incremental parser, that
> would solve all of the problems.
> 
> I have no idea how to do it, but Ka-Ping Yee's IPC8 Developers Day Notes
> mention that Guido would like to have such a thing. You can find the
> notes in the 'purpose statement' of the compiler-sig. The compiler-sig
> is the place for this kind of thing to happen.

I read the parser module C source for 1.6, it's structured specifically
to be extended into an incremental parser. I guess it's time for me to
learn C.
-- 
sHae mAtijs eRisson (sHae at wEbwitchEs.coM) gEnius fOr hIre
 squirrels furnished by Paul E. Black, you're safe now.



More information about the Python-list mailing list