CSE425 Compiler Design Lab

Lab 7 · 3-D array declarations with LEX and YACC

This lab involves implementing a 3-dimensional array


lex arr_dec.l
yacc -d arr_dec.y
cc y.tab.c lex.yy.c
./a.out


Ignore the error messages, input the size of matrix in the command line when prompted.


← Lab 6 · All labs