Fix C++11 Compiler Syntax

Job ID: 39836266

Budget: $30 – $250 USD

Project Title: Fix C++11 Compiler Syntax and Semantic Errors

Description:
I wrote a small compiler for a university assignment in C++11. It builds and runs, but the output is not matching what it’s supposed to. The main problems are with syntax parsing and semantic error codes not showing correctly.

I need help debugging and fixing the code (mainly parser.cc, parser.h, and semantics.cc) so that:
• It passes all the given test cases provided with the project
• It also works for the hidden test cases that will be used for grading
• The compiler reports the correct semantic error codes and outputs the expected results

No big changes or new features are needed — just fixes to make sure everything works and all tests pass.