Implementing a DSL using groovy.util.DelegatingScript

2016-08-16 Thread Gerrit Telkamp
I'm using groovy.util.DelegatingScript to realize a simple DSL. It works quite well and the implementation was straight forward. Now I would like to extend my DSL by more words. Usually, this would be done by implementing each word as method in the delegate class. Instead I would like to split t

Re: Implementing a DSL using groovy.util.DelegatingScript

2016-08-16 Thread Gerrit Telkamp
? BTW, the "MissingMethodException" has been used by other DSLs like Spock etc., but in my opinion the newer DelegateScript class is a much more elegant way... Thank you, Gerrit. Am 16.08.2016 um 11:46 schrieb Jochen Theodorou: On 16.08.2016 10:45, Gerrit Telka