Replies: 1 comment
-
|
Yes, post-processing is the best way to do it, afaik. I don't think you need another grammar, probably a regex will be enough. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have "zid" strings in my DSL which can't contain spaces, and can look like these examples:
Is there a good way to match such a string without whitespace, but tokenize it further so I can get the references within braces?
The only way I can think of is to write a regular expression that matches a ZID terminal first, then post-process that after. Perhaps with another grammar just for that. Is that a good way to do it?
Beta Was this translation helpful? Give feedback.
All reactions