On 3/9/2012 11:30 AM, Jacopo Cappellato wrote:
On Mar 9, 2012, at 10:03 AM, Adrian Crum wrote:
Another advantage of this approach is the syntax remains the same across
languages.
I also have some doubts that a language independent DSL would be very useful:
the main concept is to extend the language of your preference in a tr
For example, in order to copy contents of maps from map to map in Groovy you
can do something like:
lookupFieldMap = parameters.subMap(['inventoryItemId', 'productId'])
Now I understand the confusion - there is nothing "DSL" about copying a
Map. In my mind the "Domain" in an OFBiz DSL is "OFBiz" - so the DSL
adds OFBiz-specific extensions to the language.
What you're describing would be handled by third-party libraries.
-Adrian