Kush-munot / CD-Lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CD-Lab

to run lex commands on Ubuntu

lex filename.l 
gcc lex.yy.c -lfl
./a.out

Installing Flex on Ubuntu:

sudo apt-get update
sudo apt-get install flex

To run lex commands on Windows

lex filename.l 
cc lex.yy.c 
a.exe

All lex codes

YACC Programs

Run YACC program in windows

flex filename.l
bison -dy filename.y
gcc lex.yy.c y.tab.h
a.exe

About


Languages

Language:Python 71.2%Language:C++ 28.8%