Skip to content

How to add packeges of lex and yacc and how to run lex and yacc code in Linux operating system(ubuntu)

Notifications You must be signed in to change notification settings

RDX463/lex-and-yacc-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

lex-and-yacc-program

How to add packeges of lex and yacc and how to run lex and yacc code in Linux operating system(ubuntu)

How to add packages of lex and yacc in linux os (ubuntu):

1.sudo apt-get update

2.sudo apt-get install flex

3.sudo apt-get install bison

4.sudo apt-get install byacc

5.sudo apt-get install bison++

How to run lex and yacc code together in linux terminal:

yacc -d sample.y

lex sample.l

gcc lex.yy.c y.tab.c

./a.out

** lex and yacc Code will start running in terminal **

About

How to add packeges of lex and yacc and how to run lex and yacc code in Linux operating system(ubuntu)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published