On Mar 8, 2012, at 8:30 PM, Adrian Crum wrote:

> 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.

Thank you Adrian.
In this first step I was actually focused on the definition (and their design 
as DSL) of all the implicit rules that make Minilang such a productive tool, 
and I have used Groovy because it helps to implement this kind of patterns.
But if we can enhance and reuse the same class for all the JSR-223 compliant 
scripting languages that would be nice.

Jacopo

> 
> -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