Skip to content

Diveshmahajan4/Compiler-Design-Labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler-Design-Labs

Installing Softwares for windows

Run using following command:-

  1. For Compiling Lex file only:
       flex filename.l
       gcc lex.yy.c
  2. For Compiling Lex & Yacc file both:
       flex filename.l
       bison -dy filename.y
       gcc lex.yy.c y.tab.c
  3. For Executing the Program:
      ./a.exe
  4. Sometimes when you want to exit after giving input.
      Ctrl+Z and Enter