groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergei Egorov <bsid...@gmail.com>
Subject Re: Proposal: Statically compileable builders
Date Tue, 04 Oct 2016 14:39:02 GMT
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