Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

CMSC 430 UDC Modifying Interpreter For Programs to The Complete Language Proejct

CMSC 430 UDC Modifying Interpreter For Programs to The Complete Language Proejct

CMSC 430 UDC Modifying Interpreter For Programs to The Complete Language Proejct

I’m stuck on a C Programming question and need an explanation.

this project involves modifying the attached interpreter so that it interprets programs for thecomplete language.You may convert all values to double values, although you can maintain their individual types ifyou wish.When the program is run on the command line, the parameters to the function should be suppliedas command line arguments. For example, for the following function header of a program in thefile text.txt:function main a: integer, b: integer returns integer;One would execute the program as follows:$ ./compile < test.txt 2 4In this case, the parameter a would be initialized to 2 and the parameter b to 4.An example of a program execution is shown below:$ ./compile < test.txt 2 41 function main a: integer, b: integer returns integer;2 c: integer is3 if a > b then4 a rem b;5 else6 a ** 2;7 endif;8 begin9 case a is10 when 1 => c;11 when 2 => (a + b / 2 – 4) * 3;12 others => 4;13 endcase;14 end;Compiled SuccessfullyResult = 0After the compilation listing is output, the value of the expression which comprises the body ofthe function should be displayed as shown above.The existing code evaluates some of the arithmetic, relational and logical operators together withthe reduction statement and integer literals only. You are to add the necessary code to include allof the following:? Real and Boolean literals? All additional arithmetic operators? All additional relational and logical operators? Both if and case statements? Functions with multiple variables? Functions with parametersThis project requires modification to the bison input file, so that it defines the additional thenecessary computations for the above added features. You will need to add functions to thelibrary of evaluation functions already provided in values.cc. You must also make somemodifications to the functions already provided.You are to submit two files.1. The first is a .zip file that contains all the source code for the project. The .zip fileshould contain the flex input file, which should be a .l file, the bison file, which shouldbe a .y file, all .cc and .h files and a makefile that builds the project.2. The second is a Word document (PDF or RTF is also acceptable) that contains thedocumentation for the project, which should include the following:a. A discussion of how you approached the projectb. A test plan that includes test cases that you have created indicating what aspectsof the program each one is testing and a screen shot of your compiler run on thattest casec. A discussion of lessons learned from the project and any improvements that couldbe made.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20