From: Jonathan E. <jon...@no...> - 2004-02-26 21:43:07
|
Honestly, it sounds like TCL would be a better basis for what you want to do than Python. Tcl's syntax is (a) prefix-based, like your example, and (b) extremely, extremely consistent. -Jonathan -----Original Message----- From: Woolliscroft, RJ (Richard) [mailto:Ric...@di...]=20 Sent: Thursday, February 26, 2004 9:55 AM To: 'jyt...@li...' Subject: [Jython-dev] simplifying the syntax Hi, I have been asked to create a simple scripting language which will accept command such as: foo 1 2 abc Ideally I would like to use Jython to utilise all its feature and to call other Java objects which=20 will also be used. However, in Jython you would need to write a function called foo and you would then enter the parameters using the syntax: foo(1,2,"abc") The software users really want the syntax to be as simple as possible. Is there currently, or will there be, anyway to get around this by altering the Jython syntax. This could be done in Python using the LazyPython (or IPython) hack, but I must use Jython to be=20 compatible with my legacy Java classes. Any ideas? Or any plans for the future? thanking you in advance, Richard =20 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Jython-dev mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-dev |