/media/sda-magnetic/david/Extern-Magnetic-2022-06-29/Extern01/Dokumente-11-2021-07-05/informatik-math/informatik2/lex-yacc-bash-etc/grammatik03.txt


statement       ::= assigment | cond | loop
assignment      ::= id := expr
cond            ::= if boolexpr then statement fi | if boolexpr then statment else statement fi
while           ::= while boolexpr do statement od
expr            ::= boolexpr | numexpr
boolexpr        ::= numexpr cop numexpr
numexpr         ::= numexpr + term | term
term            ::= term * factor | factor
factor          ::= id | const | (numexpr)