Question: (Ad-hoc Partial Compiler) The Part-2 (Ad-hoc Partial Compiler) will consist of scanner, parser, lexical analyzer and semantic analyzer (amalgamation of previous assignments). On running the

(Ad-hoc Partial Compiler) The Part-2 (Ad-hoc Partial Compiler) will consist of scanner, parser, lexical analyzer and semantic analyzer (amalgamation of previous assignments). On running the project, it should show user the multiple options (one option for each module); and in response to each option, it should show the next window and allow the user to input string for that specific module. For example: 1- For Scanner 2- Lexical analyzer 3- Syntax analyzer 4- Semantic Analyzer If the user has selected the option l, your project should open the scanner, input string(s) from the user and return the output after performing the analysis. You are opened to use any language/tool for implementing the project. Note: For lexical analyzer, you can either manually implement it in corresponding language (e.g. C# C++) or use flex. In case of flex, explicitly just open the flex's output exe from your main project file or integrate it with other modules of your project. (Ad-hoc Partial Compiler) The Part-2 (Ad-hoc Partial Compiler) will consist of scanner, parser, lexical analyzer and semantic analyzer (amalgamation of previous assignments). On running the project, it should show user the multiple options (one option for each module); and in response to each option, it should show the next window and allow the user to input string for that specific module. For example: 1- For Scanner 2- Lexical analyzer 3- Syntax analyzer 4- Semantic Analyzer If the user has selected the option l, your project should open the scanner, input string(s) from the user and return the output after performing the analysis. You are opened to use any language/tool for implementing the project. Note: For lexical analyzer, you can either manually implement it in corresponding language (e.g. C# C++) or use flex. In case of flex, explicitly just open the flex's output exe from your main project file or integrate it with other modules of your project
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
