From: David G. <dg...@hu...> - 2002-05-03 12:01:34
|
Hello, I'm new to Jython so forgive me if this is a FAQ... I'm considering the use of Jython mainly in an interactive mode for a debugger I'm writing. If I'm examining memory locations I don't want to have to type (eg) "x(address)" to look at the contents of address because shifting to do the brackets is a bit of a pain. I would rather type "x address". It appears to be really easy to add a simple aliasing facility to Jython just by subclassing InteractiveConsole. In raw_input I could preprocess the String to do my alias checking before returning the possibly modified result to the caller. Before I go any further though, has anybody done anything similar already, and am I barking up the wrong tree? (I realise hacking the syntax is possibly anathma to purists :) Cheers, Dave |