Re: [Schemeway-user] Eclipse scripting in scheme?
Brought to you by:
schemeway
From: <sch...@sy...> - 2007-09-23 11:33:50
|
Alan, >Dominique Boucher said that SchemeScript could be used to script >Eclipse. > >Is that true? I took a look at the referenced (SchemeWay) project web >site, and from what I can tell from there, it looks as if SchemeScript >is just an editor for scheme code. There doesn't seem to be any way >to hook into the running Eclipse classes. SchemeScript is not jus an editor. It also provide several ways to interact with Scheme interpreters. One of them is "Embedded Kawa", an instance of the Kawa Scheme interpreter running inside of Eclipse. This interpreter runs in the same context as the plugin itself (JVM, classpath, etc.) So it can be used to access all classes visible from the SchemeScript plugin (core Eclipse APIs, SWT, JFace, JDT, and a lot more). For instance, when pressing ALT-CTRL-SHIFT-T in the Scheme editor, SchemeScript tries to replace the symbol near the cursor position by the fully-qualified name of the class referenced by the symbol. This is done by introspecting the JDT. Also, most of the cursor movement commands are implemented directly in Scheme. These commands have all been developed interactivel, i.e. by entering their code in the editor, evaluating them, and testing them, all that without having to restart Eclipse or launching a new one. Here is an other example: http://theschemeway.blogspot.com/2006/10/scripting-eclipse-with-schemescript.html Dominique Boucher |