update + fixes for parser

This commit is contained in:
Christoph
2020-12-04 18:30:24 +01:00
parent f60eef549e
commit 7764b6cdf6
7 changed files with 113 additions and 57 deletions

View File

@ -3,6 +3,9 @@ EPS: epsilon
TERM: id + * ( )
NTERM: E E2 T T2 F
// Leerzeilen sind egal
// Man kann Line-Comments schreiben und Produktionen verodern
E -> T E2
E2 -> + T E2 | EPS
T -> F T2