Repository for the "Compilerbau" lecture of Prof. Winfried Bantel
- flex pl0-scanner.l
- bison -d pl0-parser.y
- gcc -o pl0-parser.exe pl0-parser.tab.c
- Run pl0-parser.exe
- Type in Code you want to parse. Press Enter.
All notable changes to this project will be documented in this file.
- the symbol table methods, that should be called, are printed
- other outputs
- invalid example programs
- before, something like
x := 1 +was valid
- more examples
- 3 example programs from Wikipedia
- scripts for Unix and Windows running LEX and YACC and starting
pl0-parser.exe
- missing
;(pl0-parser, line 42) - argument
&$2instead of$2(pl0-parser, line 75)
- pl0-parser
- pl0-compiler
- pl0-parser
- pl0-compiler
- pl0-parser
- rough sketch of pl0-parser
- updated pl0-compiler
- pl0-scanner
- testable pl0-scanner (gives feedback with printf)
- pl0 example file