Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions for Compiling and Running the Lexer and Parser

Open Command Prompt and navigate to the file directory:

cd path\to\your\file\directory

For Lexer

Run the following commands:

flex filename.l

gcc lex.yy.c

a.exe

For Parser

Run the following commands:

bison -d filename.y

flex same_filename.l

gcc lex.yy.c add.tab.h

a.exe

open cmd then cd to file directory

flex filename.l gcc lex.yy.c a.exe for parser bison -d filename.y flex same_filename.y gcc lex.yy.c add.tab.c a.exe

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages