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