Homework 2: Rudimentary Interpreters

How to Design Programs: An Introduction to Programming and Computing

Info icon This preview shows pages 1–2. Sign up to view the full content.

WPI CS536 (F07) Homework 2 CS 536 Homework 2: Rudimentary Interpreters Due: September 20, hardcopy in class and electronic via turnin (asgmt name hwk2 ) Repeating the warning I gave in class: solutions to homework problems are often available in texts, on the web, etc. The point of the assignments is for you to think them through so you see the questions that come up in building languages. Do not look at solutions to these problems, even for hints. If you need help, post to the board or send me email. If I find you've consulted sources beyond those posted on the CS536 web site, I will follow WPI's honesty policy and recommend an F for the course. Testing and What to Turn In Turn in two separate files for this assignment: one containing your code (called hwk2.scm) and the other containing your tests (called tests.scm). The quality of your test suite is worth a significant portion of your grade. Write your tests using the test and test/exn functions in the PLAI language levels. I will run your tests against each other's code: you get points for bugs you find in others' code and lose points for bugs that others' tests find in your code. Due to this, pay attention to the concrete syntax and
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern