Parsodus/parser.example.pds

13 lines
151 B
Plaintext

parser: SLR(1)
lexesis: lexer.lxs
terminals:
TERMINAL
start: s
grammar:
s -> a s
| b
;
a → TERMINAL;
b -> a;