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
Currently, because of the sort annotation, this grammar production corresponds to this enumeration sort:
data Cterm( Cterm_A1(String, List) ... )
which is an issue because the variable is not anymore a Cterm.
One possible solution is to allow syntactic variable to carry values, just like construction. In a sense, a syntactic variable is a special construction linked to a variable to allow substitution, which can be expressed as follows:
data Cterm ( variable Cterm_A1(String, List<Csortanno>) ... )
Notice the special variable keyword, replacing allows-variable.
variable by itself is still allowed and represent simple variable (with no additional values).
The text was updated successfully, but these errors were encountered:
Use case:
Currently, because of the sort annotation, this grammar production corresponds to this enumeration sort:
data Cterm( Cterm_A1(String, List) ... )
which is an issue because the variable is not anymore a Cterm.
One possible solution is to allow syntactic variable to carry values, just like construction. In a sense, a syntactic variable is a special construction linked to a variable to allow substitution, which can be expressed as follows:
Notice the special
variable
keyword, replacing allows-variable.variable
by itself is still allowed and represent simple variable (with no additional values).The text was updated successfully, but these errors were encountered: