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