0 Replies Latest reply on Dec 16, 2008 6:01 AM by flavius

    Drools DSL nested expressions

    flavius

      Hello,

      I am beginning with Drools, especially with DSL and I'd like to use some expanders like this:

      add {area} to "{setOfAreas}"
      "{street1}" street from crossing with "{street2}" street to "{square}" square
      

      and enable the user write in consequences

      add "Michigan" street from crossing with "Golden" street to "London" square to "allowedAreas"


      Is that possible? I know this would shift DSL to non-regular languages, probably causing some shift/reduce and reduce/reduce conflicts, but the designer of DSL should be programmer, who is aware of that.

      Thank you