CS 370
Homework Assignment 3
Using Parsing to Produce a Syntax Checker
Due: Friday March 3, 5pm

Take the C grammar YACC file from the class web page, and combine it with your lexical analyzer to construct a "syntax checker" for the 370-C language. A "syntax checker" checks whether there were any lexical or syntax errors. If no errors were found, your program should print "No errors". If errors were found, your program should print an appropriate error message and exit.