Question: Compiler course Project c++ In your project, you should develop a simple language c++. You can use flex and bison build your language parser. At
Compiler course Project c++ In your project, you should develop a simple language c++. You can use flex and bison build your language parser. At first, you should define our language, clarify your tokens and develop your laxer. Also, it would be best if you express your grammar or your language for parsing. The parser also should be developed. Your parser should clarify the errors and report the error. The language should support the following properties: Could be able to parse logical and computational (as int x = a+30 or bool z = true && b) The language should have conditional statements (as if or else statement) The language should have a loop statement (as for statement or while statement) You should provide a document stating your language properties, grammar, and relevant definitions. The parser should be able to report the syntax errors and semantic errors. please with explanation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
