- Flex 2.5.4a
- Bison 2.4.1
- DevC++
- Add
C:\GnuWin32\bin;C:\Dev-Cpp\bin;
to path.
- For Compiling Lex file only:
flex filename.l gcc lex.yy.c
- For Compiling Lex & Yacc file both:
flex filename.l bison -dy filename.y gcc lex.yy.c y.tab.c
- For Executing the Program:
./a.exe
- Sometimes when you want to exit after giving input.
Ctrl+Z and Enter