X-Injected-By: benja@lorien.it.jyu.fi Date: Thu, 14 Mar 2002 00:26:30 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: binary As numerous people on ICQ, including Tuomas, have voiced support, I guess we're going to implement the key bindings in a normal scripting language, with code being put in cells. (It's great we have the external editing stuff, isn't it? ;) ) I think Jython would be a good choice for a language, as it is stable, has great Java integration, and is pure Java (no JNI). (Of course we'll want to support a number of languages, but this is a nice start.) So, here are a few thoughts and attempts about that.Aat -- Bnj, 2002-03-13eCalling One tricky question is how to pass parameters to stuff in some cell. The problem is that it would be nicest if you could just start typing a chunk of code, not having to worry about writing a formal function definition or anything like that. It should be possible to do one-liners where appropriate (which is pretty often)... I guess it'll be best to initialize the namespace with some parameters when calling. That means, we could set a variable 'zz_window' to hold the current window, and so on. That way, we could also add new params later without having to rewrite the function definition in *every* cell that holds a Jython key binding. - Benja