Computer Science, asked by Anonymous, 6 months ago

How to execute programs in lex tool ubuntu?​

Answers

Answered by Anonymous
1

Answer:

Running a Lex and Yacc program

write the lex program in a file and save it as file. l (where file is the name of the file).

open the terminal and navigate to the directory where you have saved the file.l (e.x CD Desktop)

type lex filename.l.

then type cc lex.yy.c -lfl.

then type ./a.out.

Answered by omkar4727
0

Answer:

Below is the answer...

Explanation:

I have shown the steps up there...

Hoping my answer helps u..

Mark my answer as brainliest if it does...

Attachments:
Similar questions