This snippet seems like it should execute successfully
but it results in an error:
ERROR: Variable 'dur' not defined. in interpreted text
There seems to be a conflict between the dual nature of the backslash - it’s an escape character in the context of a string and symbol notation in sclang.
Is there a good way to handle that without having to stray too far from regular sclang syntax? For example escaping the backslash would work, e.g.
but I would still like to retain typical sclang syntax in this mini-dsl i’m trying to put together.