Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dash-dev] Groovy Monkey

I not to long ago added a bug to Eclipse Monkey ( Bug #143077 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=143077 ) that would allow it to support different languages for writing monkey scripts. I also supplied a rudimentary solution that would allow groovy to be used in place of java script.

Well, since I have had some free time at work and well for lack of a better thing to do, I added additional language bindings. At this time you can write an Eclipse Monkey script in javascript, beanshell, python, groovy and ruby. Would you like to try it out and give me some comments? Put http://groovy-monkey.sourceforge.net/update in your update manager in eclipse and download what is in effect my branch of the current Eclipse Monkey project.

Want a look at the source code? Just grab it from cvs anonymously at groovy-monkey.cvs.sourceforge.net with the repository path set to /cvsroot/groovy-monkey. All the projects currently in there are involved with the feature.

Want to curse me out and tell me how lame what I have done is? Well send me an email message, be sure to leave out anything really bad that will not get through the spam filter.

James E. Ervin

P.S.: I am hoping to make two new improvements to this offering. One, I think it would be very cool to be able to have an "Outline" view that would show which doms you have added to your script, what type the objects are and especially what methods they accept. Second, I would like to add in running the scripts by default in an Eclipse Job so they can be cancelled and not tie up the UI thread unnecessarily. I would propose to do this by way of a MODE: metatag, any suggestions?

--
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.

-Robert A. Heinlein





Back to the top