# Compiler-Design-Lex-Yacc ## Lex Programs 1. Compile the file as : > lex filename.l > gcc lex.yy.c -ll 2. Execute the file as : > ./a.out argumentFile.txt ## Yacc Programs 1. Compile the file as : > lex filename.l > yacc -d filename.y > gcc y.tab.c lex.yy.c 2. Execute the file as : > ./a.out Thanks, thevirtualbuddy