UDL assymetric delimiters
Baksa Péter last edited by
I am trying to define a language that has the usual () and  delimiters, and also it has [,) and (,]
I tried to set delimiter 1 open ( close ) ] and deimiter2 open [ close ) ] but that doesn’t work.
range [a, b]
range [a, b)
range (a, b]
Claudia Frank last edited by
can be achieved by using the special operator (( )).
From the document
So, if two or more strings are defined inside of a special operator (( )), they are interchangeable.
so a open like (( ( [ )) and a closing like (( ) ] )) sholud do the trick