flex vocabulary.l
gcc lex.yy.c -lfl
./a.out sample.java
bison -d parser.y
flex vocabulary.l
g++ parser.tab.c lex.yy.c -lm -lfl
./a.out ./samples/success.java
or./a.out ./samples/errors.java
make all
- compilemake clean
- clean output files./a.out ./samples/success.java
- check file
make all
- compile to .asm and executable filemake clean
- clean output files./lab4
- run executable file