Open
Description
Running the code
throws an error in the current version of Miking:'syn' name conflict, found two definitions of 'Expr'
'sem' name conflict, found two definitions of 'eval'
To solve it, you need to inherit Expr
and eval
from a base language:
lang MyBase
syn Expr =
sem eval =
end
...
lang Arith = MyBase
...
lang MyBool = MyBase
...
Activity