Hi,
how I can define a list in a DSL-file?
So user should define a list of comma separated reations (Strings)in a
DSL-rule-file, like this {"r1","r2","r3"}
This list should be used as parameter for "in"-command.
I always get:
mismatched input '{' expecting ')
no viable alternative at input '{' in rule
DSLR:
when
Reaction appears {"r1","r2","r3"}
DSL:
[condition][]Reaction appears {reactions}=
$interactionrequest : Interactionrequest($state in ({reactions}))
Thanks for advice
Thorsten