|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
GEP-3 command expression DSL exensionHi all,
on http://docs.codehaus.org/display/GroovyJSR/GEP+3+-+Command+Expression+based+DSL you find a new GEP, to have better DSLs in Groovy. It is a very first draft, so don't expect too much. Of course suggestions are welcome! bye blackdrag -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: GEP-3 command expression DSL exension>> Constraints: the evaluation must be easily explainable
>> ... I think that table shows enough to recognize the pattern. I'm trying to think about how I would explain the table in words... "In certain cases, you can remove commas from method invocation expression lists. The method invocation will become a series of chained invocations of expressions pairs where the odd numbered expression is assumed to be a method and the even numbered parameters are objects. This works if you have an odd number of expressions unless the last expressions is a closure. Also, this works for an even number of expressions only if the last expressions is a closure. " There are a few details left out, but is that the gist of it? I feel like I see the pattern from the example but don't quite know how to explain it. -- Hamlet D'Arcy hamletdrc@... On Tue, Jun 30, 2009 at 3:25 PM, Jochen Theodorou<blackdrag@...> wrote: > Hi all, > > on > http://docs.codehaus.org/display/GroovyJSR/GEP+3+-+Command+Expression+based+DSL > you find a new GEP, to have better DSLs in Groovy. It is a very first draft, > so don't expect too much. Of course suggestions are welcome! > > bye blackdrag > > -- > Jochen "blackdrag" Theodorou > The Groovy Project Tech Lead (http://groovy.codehaus.org) > http://blackdragsview.blogspot.com/ > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --
Hamlet D'Arcy |
|
|
Re: GEP-3 command expression DSL exensionSo whatever happened to GEP 3 (Command Expression based DSL)?
Are we re-thinking it or moving forward with it? -- Hamlet D'Arcy hamletdrc@... On Wed, Jul 1, 2009 at 8:28 AM, Hamlet D'Arcy<hamletdrc@...> wrote: >>> Constraints: the evaluation must be easily explainable >>> ... I think that table shows enough to recognize the pattern. > > I'm trying to think about how I would explain the table in words... > > "In certain cases, you can remove commas from method invocation > expression lists. The method invocation will become a series of > chained invocations of expressions pairs where the odd numbered > expression is assumed to be a method and the even numbered parameters > are objects. This works if you have an odd number of expressions > unless the last expressions is a closure. Also, this works for an even > number of expressions only if the last expressions is a closure. " > > There are a few details left out, but is that the gist of it? > > I feel like I see the pattern from the example but don't quite know > how to explain it. > > -- > Hamlet D'Arcy > hamletdrc@... > > > > On Tue, Jun 30, 2009 at 3:25 PM, Jochen Theodorou<blackdrag@...> wrote: >> Hi all, >> >> on >> http://docs.codehaus.org/display/GroovyJSR/GEP+3+-+Command+Expression+based+DSL >> you find a new GEP, to have better DSLs in Groovy. It is a very first draft, >> so don't expect too much. Of course suggestions are welcome! >> >> bye blackdrag >> >> -- >> Jochen "blackdrag" Theodorou >> The Groovy Project Tech Lead (http://groovy.codehaus.org) >> http://blackdragsview.blogspot.com/ >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --
Hamlet D'Arcy |
|
|
Re: GEP-3 command expression DSL exensionHamlet D'Arcy schrieb:
> So whatever happened to GEP 3 (Command Expression based DSL)? > > Are we re-thinking it or moving forward with it? well, there was not much of a response to my idea, so I was thinking about making a prototype and let people try it out. Only I had not time yet for this bye blackdrag -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |