groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: Proposal: Statically compileable builders
Date Sun, 09 Oct 2016 00:27:37 GMT
Sergei, I might try to find time shortly to produce a spike of a
slightly improved transform similar to MapArguments. Are you happy for
me to use parts of yours if needed?

Cheers, Paul.

On Wed, Oct 5, 2016 at 12:39 AM, Sergei Egorov <bsideup@gmail.com> wrote:
> Hi Graeme,
>
> FYI a few years ago I created an AST transformation for MapArguments:
> https://github.com/bsideup/GroovyMapArguments/blob/master/src/test/groovy/ru/trylogic/groovy/mapargs/MapArgumentsTest.groovy
>
> Might be helpful :)
>
>
> BR,
> Sergei
>
> On Tue, Oct 4, 2016 at 5:33 PM Graeme Rocher <graeme.rocher@gmail.com>
> wrote:
>>
>> Closely linked to
>>
>> https://issues.apache.org/jira/browse/GROOVY-7956
>>
>> I would like to propose adding the ability to create builders that can
>> be statically compiled by adding a capability similar to Scala's
>> Dynamic:
>>
>> https://issues.apache.org/jira/browse/GROOVY-7957
>>
>> Some considerations:
>>
>> * Behavior of closure delegates?
>> * invokeMethod vs methodMissing
>>
>> Thoughts?
>>
>> Cheers
>>
>> --
>> Graeme Rocher

Mime
View raw message