Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 416 Bytes

README.MD

File metadata and controls

21 lines (16 loc) · 416 Bytes

CSPC41 – PRINCIPLES OF COMPILER DESIGN

Programming Assignment

Executing LEX Programs:
$ lex fileName.l
$ cc -o out lex.yy.c -ll
$ ./out

Executing LEX and YACC together:
$ cd toFolder
$ yacc -d fileName.y
$ lex fileName.l
$ cc -o out y.tab.c lex.yy.c -ly -ll
$ ./out

HAPPY CODING! 🥂