Question
The target of the project for each team is to create the scanner and parser compiler components using the FLEX and BISON tools. Input to
The target of the project for each team is to create the scanner and parser compiler components using the FLEX and BISON tools. Input to your project executable will be a source code for a custom language that will be developed by each team. Output will be the syntax tree in case the input source code is valid from the scanner and the parser perspective, otherwise a full error should be outputted.
II. Project Tasks Each team should follow these tasks in order to create the project: Task More Information Develop/Invent a custom programming language Construct the RE and the CFG for your custom programming language. Preprocess your CFG for better performance. Develop the Scanner component using FLEX In case your language contains Identifiers, Implement the symbol table in the developed Scanner Specify and output errors of the Scanner component Develop the Parser component using BISON Specify and output errors of the Parser component Draw the output syntax tree in case the input is valid to a txt file. Simplify the syntax tree in case the input is valid and draw it to a txt file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started