Extend the parser (in JAVA) you wrote in Assignment 2 to perform semantic analysis for the following language grammar. The extended parser should accept a file (a program written in the language) from the command line: java -jar compiler.jar <filename>.