-
The spec right now includes
The problem is this makes the following perfectly legal:
Which is to say, I've now inserted a token somewhere it doesn't belong. What's more, I can also write something like
The issue here is that if I have a slashdash, I can now insert any of the valid commentable token types anywhere whitespace is allowed. And because this includes a full node, and nodes will terminate on a braced block, I get this weird chain of braced blocks at the end. I can even do stuff with comments, like
or stuff with esclines
And there's a potential parsing ambiguity here, as the definition of I think fixing this will require splitting
This way only tokens that are valid for the current position can be slashdashed. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Oh hey. Would you like to PR this change so it gets properly credited? 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
Fixed by #33. |
Beta Was this translation helpful? Give feedback.
Fixed by #33.