You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As there is no official discord or forum linked I hope it's fine to ask here.
I am trying to write a grammar for parsing flix and slowly get the hang of it, but I still cannot figure out how to handle arbitrarily whitespace.
Like flix can have code like this:
As there is no official discord or forum linked I hope it's fine to ask here.
I am trying to write a grammar for parsing flix and slowly get the hang of it, but I still cannot figure out how to handle arbitrarily whitespace.
Like flix can have code like this:
Now this is well formatted, but basically everywhere where a whitespace is, could be a line break, or whitespaces could be placed arbitrarily.
Now I started a grammar like this:
and wonder if I have to put
_ %NL
everywhere where there could be a possible linebreak?Or is there a different solution?
The text was updated successfully, but these errors were encountered: