This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: http://cs.bilgi.edu.tr Comp 314 —Worksheet ( Week 10) Project 10 Deadline: 0900 Saturday 2 May / 0900 Monday 4 May Irrelevant code will be penalised 1 in project submissions. 1 In the lab In the lab this week, you will 1. Complete unfinished code in your week 09 assignment. If you got less than 100, you must do this. Your assistant will check that you have actually completed the design and code, and much more importantly, the tests. 2. Open up the code from Chapter 8 of PLAI. Note that this is not error free. There is at least some redundant code in the interpreter. Can you find it? 3. Modify a previous parser you have written, to work for this language. 4. Devise and run tests to show that (a) this language evaluates as late as pos- sible (what does this mean?) and (b) does not evaluate the same expression twice (what does this mean? Remember our discussion about the concept of equality). 5. Devise an example where a program interpreted by this interpreter does eval- uate the same expression twice, for some meaning of “same” To get an attendance grade for the class, you need to arrive at the lab class on time and to stay and work on Comp 314 tasks until the end of the class time....
View Full Document
This note was uploaded on 05/03/2009 for the course COMPUTER S Comp 314 taught by Professor Chrisstephenson during the Spring '09 term at Istanbul Bilgi University.
- Spring '09