某储备粮的“学习笔记”

by 咳嗽di小鱼

Terminal Symbols: 6个

BOF, EOF, id, -, (, )

Nonterminal Symbols: 3个
S, expr, term

Start Symbol:
S

Production Rules: 5个
0 S BOF expr EOF
1 expr term
2 expr expr - term
3 term id
4 term ( expr )

Read more...