Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 416 Bytes

File metadata and controls

20 lines (13 loc) · 416 Bytes

Unix Base

flex_lexer

lexer for given language by using flex and c

FOR PART 1 (FLEX)

COMMANDS ON TERMINAL

1- flex gpp_lexer.l

2- gcc lex.yy.c

if you would like to use my test.txt
3- ./a.out < test.txt

if you would like to use your own inputs on terminal 4- ./a.out
then and enter your inputs please after each of your input strings push space at least one time before pushing enter