Parsodus/parser.example.pds

13 lines
151 B
Plaintext
Raw Normal View History

2017-01-02 16:02:54 +01:00
parser: SLR(1)
lexesis: lexer.lxs
terminals:
TERMINAL
2016-11-26 19:26:16 +01:00
start: s
grammar:
2016-11-26 19:26:16 +01:00
s -> a s
| b
;
a → TERMINAL;
b -> a;