/ACD-Assignment

implementing parser(syntax analyzer)

Primary LanguageC

ACD-Assignment

implementing parser(syntax analyzer)

A)Steps to run the code

type these command in the terminal

1- lex parser.l 2- yacc parser.y 3- gcc y.tab.c -ll -w 4- ./a.out test_case_file(exa. test0.c)

B)Output: Syntax error with line numbers (if exists)