Friday, March 9, 2007

SML help next week

I'll be away from tomorrow for a week (returning March 18), but if you need some help on SML programming issues and technique, you can contact George Kuan (gkuan at cs.uchicago.edu) to make an appointment. His office is Hinds B030 (basement of Hinds).

Wednesday, March 7, 2007

Code template for Homework 6, 2 and 3

I've added a link to a partial solution for Problems 2 and 3 of Homework 6 (the revision of the lexer and parser for Ex 5.7.2. This may help anyone who is still struggling with those problems.

Final project instructions

The final course programming project is due Friday, March 16 (any time up to midnight), and should be submitted via email as a tarball. If you don't know how to make a tarball or have technical problems producing a tarball let me know. The fallback is to
email me the separate files.

The project should include

1. A document describing the problem addressed and including a high-level description of the implementation, plus instructions for running the program. This document could be based on your answer for problem 4 of homework 7.

2. The source code for the program.
The code should be modularized -- i.e. all the code should be contained in modules with appropriate signatures defined. Individual modules should be in separate source files, and there should be a CM description file (a .cm file) that allows CM.make to compile and build the program. See the wff.tgz and mandc.tgz example code for samples. The source code should be thoroughly commented.

3. A set of test cases or test scripts for exercising the program, as appropriate.

Good luck, and happy hacking!

Sunday, March 4, 2007

Midterm 2 Solutions

I've added a link to the solutions for Midterm 2 to the class web page.

Unfortunately, there was a small error in the type supplied for the
the readFoldl function in Problem 6, for which I apologize. However,
when one attempts to define the function, the need to supply an
extra "source" argument should become apparent.

Friday, March 2, 2007

Homework 5 solutions

I've added a link to the solutions for Homework 5 to the web page, including a link to the source file streams.sml containing the code for the stream problems.

Homework 7

I've posted Homework 7 (the final homework assignment) on the web page. This is due next Tuesday, March 6. Part of the homework requires a preliminary description of your final homework project. I still haven't received any project proposals from anyone at this point, so I'm hoping this will focus your attention on the task. Remember the project must be turned in by Friday March 16 at the latest (preferably by emailing me a tarball of code and documentation).

No late homeworks will be excepted after next Thursday, March 8.

Tuesday, February 27, 2007

Course project proposals

Please email me as soon as possible a description of what you are planning for your final course project program (Due Friday, March 16, except for those graduating this quarter). Your description could be as detailed as you like, but it should be at least a paragraph or two, with a high-level description of the problem that the program addresses, and perhaps a sketch of how the solution is going to work.