Skip to content

abhi16180/lex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEX and YACC programs for SS Tutorial

Fork repo and create pull request to contribute

LEX Compilation:

  1. Allow execute privileges to "compile" file.
  2. Navigate to directory containing lex program.
  3. On Linux: ../compile.sh fileName.l
  4. On Windows: ..\compile.bat fileName.l

YACC Compilation:

  1. Navigate to directory containing lex and yacc programs
  2. Execute these commands (replace proper file name)
    flex lexfile.l
    bison -yd yaccfile.y
    gcc lex.yy.c y.tab.c
    .\a.exe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •