Skip to content

thevirtualbuddy/compiler-design-lex-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Execute the file as :

./a.out

Thanks, thevirtualbuddy

About

6th Semester Compiler Design Lab

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages