GCC - C program compiler for winows, Lex & Yacc compiler
http://rapidshare.com/files/176137840/GCC.zip.html
Installation Instructions:
1. Unzip the GCC.zip to c:\
2. Right click on MyComputer->Properties->in Advanced tab
go to Environment Variables. In System Variables set the path
C:\GCC\BIN; and
3. Now start wrting lex and yacc programs from your won folder.
Compiling Lex Program
lex filename.l
it create a file called lexyy.c
compile and create an executable file using following command
gcc lexyy.c -o filename.exe -lfl
then filename.exe will be generated
filename input string to see output.
Lex and Yacc Resource from IBM
http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.genprogc/doc/genprogc/ie_prog_4lex_yacc.htm
Need More Programs and more stuff on Compiler Design - visit
http://dinosaur.compilertools.net/
No comments:
Post a Comment