-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAYOUT?-CF not accepted in Sdf3 Statix #78
Comments
If this production is in a kernel syntax section ( |
Solved by metaborg/sdf@3579ddd. It is possible to define the production without errors as follows:
There is no checking whether the |
Okay, previously doing this would give an error because |
There seems to be a bug where the SDF3->Stratego signature generator fails on |
In Spoofax 3 it generates the following Stratego for it:
In Spoofax 2 it seems to be:
Spoofax 2 is correct. Apparently they are not using the same version of the signature generator? |
Should be fixed metaborg/sdf@d88c75a (untested) |
The Statix specification correctly rejects any optional sorts (
A?
) in context-free syntax. However, theLAYOUT?
sort is special in kernel syntax, and I think it should be allowed:Here is a project with WebDSL syntax in which this is an issue, in
WebDSL-Core.sdf3
, line 49:📂 webdsl.zip
The text was updated successfully, but these errors were encountered: