Question: Homework from programming language processor class... I really need help with the codes... Thank you very much Question 2 Answer the following questions to add
Question 2 Answer the following questions to add the following repeat-until statement to PL/O. Production rule statement repeat statement until condition Action A statement 'repeat statement until condition' works as follows. 1. Execute statement. 2. If the value of condition is false, go to the step 1. Otherwise, exit this loop. Question 2-3 To add a token repeat to a set of starting tokens of statement, modify a function isStBeginKey in compile.c and explain the modification in you report. Question 2-4 Modify a function statement in compile.c so that your PL/0' compiler can output object codes for repeat-until statements. Explain the modificaiton in your report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
