deliveredtechnologies/rulebook

Support for Groovy

Closed this issue · 2 comments

Defining rules in Java using Lambda is awesome. But Groovy doesn't currently support Lambda; it uses Groovy closures.

Given how much I personally love Groovy and that Groovy scripting could be used to externalize (and version) RuleBooks, I think RuleBook needs to be Groovy too!

Given the differences between Groovy projects and Java 1.8+ projects (Jacoco vs Cobertura, JUnit vs Spock, etc.), I think it makes sense to move rulebook-groovy to another repo. That will probably be done this week.

Upon further thought, this is not necessary. Groovy closures can be coerced into Lambdas and that coercion has been simplified with newer releases of Groovy. Also, the other repo has been created, which will one day house support for a Groovy RuleBook DSL that can be externalized.