2017-01-02 16:02:54 +01:00
|
|
|
parser: SLR(1)
|
2016-11-09 13:04:56 +01:00
|
|
|
lexesis: lexer.lxs
|
|
|
|
terminals:
|
2017-01-14 20:31:40 +01:00
|
|
|
"A"
|
|
|
|
"B"
|
|
|
|
"C"
|
|
|
|
"D"
|
|
|
|
precedence:
|
|
|
|
left "A" "D"
|
|
|
|
nonassoc "B"
|
|
|
|
right "C"
|
|
|
|
start: <start>
|
2016-11-09 13:04:56 +01:00
|
|
|
grammar:
|
2017-01-14 20:31:40 +01:00
|
|
|
<start> ::= <x> <x> [startrule];
|
|
|
|
<x> ::= "A" <x> [xA]
|
|
|
|
| "B" [xB]
|
|
|
|
;
|