wx.py.shell.ShellFrame interpreter

Hi,

It appears that there is some way to plug in your own interpreter for
use in the ShellFrame, e.g., to build a shell for interacting with a
language other than Python. I am not seeing clearly how to do this in
the documentation, and my varied hacks at making it work have not
availed much.

Any suggestions on how to do this ?....

Thanks!

Trevis Rothwell wrote:

Hi,

It appears that there is some way to plug in your own interpreter for
use in the ShellFrame, e.g., to build a shell for interacting with a
language other than Python. I am not seeing clearly how to do this in
the documentation, and my varied hacks at making it work have not
availed much.

Any suggestions on how to do this ?....

I expect that there are a lot of other places besides the use of the Interpreter class that assume that the language used is Python. But in theory it might be possible to use a different one as long as the class passed to the Shell or ShellFrame classes matches the interface (IOW the API) of the Interpreter class in interpreter.py.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!