Assignment title: Management


Programming Assignment Implement a lexical and syntax analyzer based on the following grammar. Your analyzer should read an input test program from a file and then determine if it contains a syntax error. It does not have to show where the syntax error occurs or what kind of error it is.  begin end {;} | =  identifier (An identifier is a string that begins with a letter followed by 0 or more letters and/or digits) { (+|-) }  loop () ® (< | >) (Assume that logic expressions have only less than or greater than operators) Use the examples below to test your analyzer. Input program with no syntax errors: Input programs containing syntax errors: