[Pyobjc-dev] Interactive interpreter in PyObjC
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-10-27 13:52:58
|
I started working on an interactive in-process interpreter for PyObjC applications. Here's what it does so far: Simple coloring of sys.stdout and sys.stderr Supports unicode (but assumes non-unicode is utf8 for now) Command history (up key, down key) Limits editing and cursor position (but not selection) to ONLY the active line of code All the nice things that editing in a NSTextView gives you Obvious future enhancements would be: Auto indent Syntax highlighting Completion sys.stdin (for raw_input and such -- might be too hard to do without stackless, threads, or other nasty stuff) It's at http://undefined.org/python/PyInterpreter-0.0.tgz right now, I'd like to add this to the PyObjC source tree if someone gives me commit access :) -bob |