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
If we put that semi-colon outside of Declaration_c (and so adding it wherever that nonterminal is used, like in ExternalDeclaration_c above), I think it works fine. Basically, the problem is right now we're spilling into the follow set of Declaration_c, but if we move the semicolon out, we avoid that. I don't think any of the other MDA restrictions would upset this scheme.
Any thoughts?
The text was updated successfully, but these errors were encountered:
Another thing to maybe do, if this works, is write up a very short bit of documentation for melt-website about "things to do to make syntax more extensible under the MDA." I think we've only ever written about this stuff in papers, and this sort of thing might be another item to add to the list. I don't recall having to do something like this before.
I was trying a small experiment, and please note I haven't thought this all the way through, that looks like this:
Basically, extension syntax that allows its own declarations syntax to be along side plain C host declarations. This doesn't work, but only just.
I think we could make it work by moving the semicolon:
If we put that semi-colon outside of
Declaration_c
(and so adding it wherever that nonterminal is used, like inExternalDeclaration_c
above), I think it works fine. Basically, the problem is right now we're spilling into the follow set ofDeclaration_c
, but if we move the semicolon out, we avoid that. I don't think any of the other MDA restrictions would upset this scheme.Any thoughts?
The text was updated successfully, but these errors were encountered: