What steps will reproduce the problem?
1. untar the attached .tar.gz
2. run ./compile-and-run
What is the expected output? What do you see instead?
'compile-and-run' should just print "4" and exit.
What version of the product are you using? On what operating system?
Lemon version 1.0. Debian testing.
Please provide any additional information below.
The crux of the problem is that the precedence overrides are ignored, e.g. in
value(v) ::= VALUE(a) COLON VALUE(b) QUESTION VALUE(c). [TERNARY]
the [TERNARY] annotation does nothing, and the rule has the precedence of
COLON.
851 bytes Download