was: Pythonwin is terrible! now incremental parsing

Shae Erisson shapr at uab.edu
Sun Jun 11 19:11:49 EDT 2000


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.

If someone wants to write an incremental parser for Python, I would
suggest looking at the javax.swing.text.* part of Java's Swing package,
the EditorKit functionality is the kind of framework that would allow
easy use of an incremental parser.
-- 
sHae mAtijs eRisson (sHae at wEbwitchEs.coM) gEnius fOr hIre
   bRing mE fIve sQuirrels aNd nO oNe wIll gEt hUrt
13:00pm up 1 season, 1 squirrel, load average: 1+1j 0.5+2j 0.2+0.5j



More information about the Python-list mailing list