I like the general concept, but I think it can be made generic so it is reusable in other languages. That is what I was trying to describe earlier.

I looked at GroovyBaseScript and I don't see any reason why it needs to be made Groovy-specific. Have the class access bindings from JSR-223 and Tah-dah! It works for all scripting languages.

-Adrian


On 3/8/2012 6:02 PM, Jacopo Cappellato wrote:
Hi all,

I have just completed my first pass in the implementation of a DSL (Domain 
Specific Language) for OFBiz that can be used by Groovy services to act like a 
modern version of Minilang.

Please review my notes here:

https://cwiki.apache.org/confluence/display/OFBIZ/Groovy+Services+and+DSL+for+OFBiz

I look forward to your comments and feedback but please consider that 1) it is 
a work in progress, 2) I spent a lot of time and mental energy in the effort 
(reaching simplicity is really complex task!)... so please don't be too picky 
:-)

Regards,

Jacopo

PS: if you find it useful, I can commit the Groovy service mentioned in the 
page in Confluence

Reply via email to