|
CSE Home | About Us | Search | Contact Info |
Finish the implementation of the new PL/0. This notably includes:
and if
and or else
operators.
Storage layout for the extended PL/0 language. This is a bit tricky because we haven't talked about all the issues yet (due to the lost class) but you should find your way easily by looking at the existing code and by minding the alignment issues. As always, email support would be helpful. Run the extended compiler with the "-r -R" options to print the runtime space allocation.
By this time, your compiler should be quite complete, and ready to be delivered to your eager customers! Don't forget to mop around your old code a little. We're not strong on where you put those brackets, but make sure the design is nicely put together, no loose public variables roam around, and that the temporaries don't have naughty names (I have a number of stories to share about that, including a couple from my own 401 TAship). It should go without saying that your compiler should compile, and that warning-free, and that it should compile your tests properly.
As usual, turn in only one solution per group, including:
As usual, you will be graded on correctness of your implementation, on clarity and good design of your implementation, and on sufficiency of your test cases.