From: Jeremy Stell-Smith <stellsmi@ya...> - 2002-10-23 09:54:23
I want to extend Jython to accept this window tag:
click("open nested window")
how do I go about doing this?
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
From: "Jeremy Stell-Smith" <stellsmi@...>
> I want to extend Jython to accept this window tag:
> def myTest():
> click("open nested window")
> how do I go about doing this?
w = Window("title")
especially if you mean in the sense of changing/extending the language accepted
by the base interpreter.
At most you could do something similar to what is done by Quixote[*] for its
template support, and use import hooks to support a parallel DSL with source
files with a new extension etc. [I would define a guitest suite and not reuse
They use the python compile package, and that's not supported yet by jython
[this will change with the future versions], so you would have to produce
source code or use the internals.
Still, is this worth the effort?
if you want more opinions on the matter, I suggest to post for discussion on
news:comp.lang.python - the main python forum [+].
Get latest updates about Open Source Projects, Conferences and News.