[rules-users] Suggestion/Feedback for DSL

Stephen Masters stephen.masters at me.com
Thu Oct 3 03:57:31 EDT 2013


If you hand-crank the rules based on DSL, then you may be interested in Paul King's talk at SpringOne 2GX last month:

https://springone2gx.com/conference/santa_clara/2013/09/session?id=29410

http://www.slideshare.net/paulk_asert/groovy-rules

I can't find any video of the talk online at the moment. Maybe someone else has a link to one of his talks on this?

The talk demonstrates things like how writing DSLs in Groovy enables you to leverage code completion in an IDE. Which is great if your rule writers are using an IDE. Unfortunately my users don't. :)

For me, the greatest power of DSL is when used to drive the guided rules editor in Guvnor. It actually makes it possible for 'business' users to build up seemingly simple rules which generate complex DRL under the hood. So far I haven't seen anything else in Guvnor to offer users equivalent capability.

Steve



On 2 Oct 2013, at 19:16, Mark Proctor <mproctor at codehaus.org> wrote:

> Right now the DSL stuff has been under developed for years. I actually wanted to remove it completely, as we don't have the resources to develop it fufther, and unfortunately it's not an item that has been picked up by community developers.
> 
> I was persuaded to keep it, by those using it, but it will require user contributions to see it developed further.
> 
> Mark
> 
> On 1 Oct 2013, at 20:21, Sean Su <sean.x.su at gmail.com> wrote:
> 
>> If we are not changing how the DSL is working, I would like to provide some feedback to the development team here.
>> 
>> Currently the DSL definition file is like a key value property file where the key being the DSL and value being the DRL part of that DSL statement. This is nice as we can change the DRL without impacting the DSL.
>> 
>> However when we update the DSL part, even as simple as the wording to be displayed on the web page, which happens often, the rules using the DSL statement will be broken.
>> 
>> Proposal: if possible, Drools/Guvnor should maintain a key (like name of that statement) independent from the context that used for the Display. Users should be allowed to update DSL without rebuilding the rules using it, as long as the independent key is maintained.
>> 
>> Sean
>> 
>> 
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131003/05e6126c/attachment.html 


More information about the rules-users mailing list