/media/sda-magnetic/david/Extern-Magnetic-2022-06-29/Extern01/Dokumente-2020-11-16/disk10-ab-2020-01-10/02-debian-pc2-work/informatik/bash-programming/lex-yacc-bash-etc/grammatik07.txt


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