ANN: Groovy Console plugin available

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ANN: Groovy Console plugin available

Jarek Sacha-2
The Groovy Console plugin enables editing and running Groovy scripts from within
ImageJ. The scripts have full access to ImageJ’s API and APIs of the installed
plugins.

The plugin website/download is at: http://ij-plugins.sf.net/plugins/groovy/  The
website has code examples, tips, and a tutorial on working with ImageJ’s macro
recorder.

Groovy (http://groovy.codehaus.org/) is a dynamic language that builds on the
strengths of Java, adding power features inspired by languages like Python, Ruby
and Smalltalk. The plugin is bundled with Groovy v.1.7.8.

Jarek
Reply | Threaded
Open this post in threaded view
|

Re: ANN: Groovy Console plugin available

ctrueden
Hi Jarek,

Any interest in incorporating the Groovy support into Fiji? It's Script
Editor supports several languages (Java, Javascript, Python, Ruby, Clojure,
Beanshell, and ImageJ Macro) but not yet Groovy.

-Curtis

On Wed, Mar 2, 2011 at 6:57 PM, Jarek Sacha <[hidden email]>wrote:

> The Groovy Console plugin enables editing and running Groovy scripts from
> within
> ImageJ. The scripts have full access to ImageJ’s API and APIs of the
> installed
> plugins.
>
> The plugin website/download is at:
> http://ij-plugins.sf.net/plugins/groovy/  The
> website has code examples, tips, and a tutorial on working with ImageJ’s
> macro
> recorder.
>
> Groovy (http://groovy.codehaus.org/) is a dynamic language that builds on
> the
> strengths of Java, adding power features inspired by languages like Python,
> Ruby
> and Smalltalk. The plugin is bundled with Groovy v.1.7.8.
>
> Jarek
>
Reply | Threaded
Open this post in threaded view
|

Re: ANN: Groovy Console plugin available

Jarek Sacha-2
Curtis:
> Any interest in incorporating the Groovy support into Fiji?
I will be glad to see it there, though I do not use Script Editor that much.

I would like to be able to run Groove and Scala scripts in ImageJ.
Groovy was a low hanging fruit, since the Console is part of Groovy, and
could be easily run from a plugin. The basic need for Groovy is now
satisfied.

Integrating Scala scripting is a bit more complex, there are some issues
with class loader. I have working prototype of a plugins for script
executor and command line interpreter. The plan is to have a simple
solution for plain ImageJ. Integration into the Fuji's Script Editor may
be a later consideration.

Jarek
Reply | Threaded
Open this post in threaded view
|

Re: ANN: Groovy Console plugin available

dscho
Hi,

On Sun, 6 Mar 2011, Jarek Sacha wrote:

> Curtis:
> > Any interest in incorporating the Groovy support into Fiji?
>
> I will be glad to see it there, though I do not use Script Editor that
> much.
>
> I would like to be able to run Groove and Scala scripts in ImageJ.
> Groovy was a low hanging fruit, since the Console is part of Groovy, and
> could be easily run from a plugin. The basic need for Groovy is now
> satisfied.

Actually, I think it would be better to have Groovy supported in the
standardized way the scripting framework provides (because that makes for
less surprises with users who are used to a certain set of supported
features).

> Integrating Scala scripting is a bit more complex, there are some issues
> with class loader.

I started with Scala some time ago, because there was an interested
person, but since I did only the first step the project was never
completed. Would be easy, though (read: less than a day of work).

> I have working prototype of a plugins for script executor and command
> line interpreter. The plan is to have a simple solution for plain
> ImageJ. Integration into the Fuji's Script Editor may be a later
> consideration.

Heh. That name ("Fuji") is taken by a big company already.

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

Re: ANN: Groovy Console plugin available

Jarek Sacha-2
On Mon, Mar 7, 2011 at 6:13 AM, Johannes Schindelin <
[hidden email]> wrote:

> I started with Scala some time ago, because there was an interested
> person, but since I did only the first step the project was never
> completed. Would be easy, though (read: less than a day of work).


Would you have time to do it?

Jarek