CS 321 Section 04 - Languages and Compiler Design
Instructor: Tim Sheard
Office: FAB 120-04
Time: Monday & Wednesday 18:00-19:50 pm
Place: PCAT 138
TA: Nicoholas Rayner,
Mid Term exam will be Wed. Feb 14, 2007. Time: in class.
Final exam will be Monday, Mar. 19, 2007. Time: 7:30-9:20 pm.
Syllabus. A list of
coures goals, and topics covered in the course. Ignore the description of
the required textbook. instead see below.
A listing of pertinent information about the required textbook.
Lecture Notes as presented in the winter of 2007.
The notes consist of Powerpoint slides (and associated code where appropriate).
Assignments. The homework assignments, and their
due dates, as assigned in the winter of 2007.
Project. A Description of the class project.
Lex and Yacc examples. Files with complete .lex and .grm examples. Some using the compiler manager.
Home Work Policy. What to hand in, what to do if your late, format of submissions.
This course is about programming languages and compilers. We will
study programming languages, learn to propram in one new language (ML),
and write a compiler for a familiar language (Java subset).
- An important part of the course is a large programming project.
- There will be daily small (approximately 1 page) assignments given each
class, which are due the next time class meets, in addition to the project.
- There will be weekly 5 minute quizes to test the reading assigments.
We will write programs in ML. The recommended compiler is Standard ML of New Jersey.
You can download a version to install on your own machine
- I will handout extensive notes on SML. Additional books
about ML are listed here.
- An excellent set of notes, by Riccardo Pucella, about programming in ML is here.
- Freely available tutorials about learning to program in ML
are listed here.
I recommend the one by Peter Lee as a good place to get started.
- If you use the Solaris (unix) machines at PSU, you can get SML by
typing: "addpkg sml", This installs the correct pathways and symbols.
Then just type "sml".
- If you use Intel lab (windows) machines, you can get sml by
opening a commnd window, and then typing: p:\programs\smlnj\addpkg.cmd
Then logout (or start a new command window) then just type sml at the prompt.
Below I will post announcements. I will post new announcements in front
of old ones, so the old ones will always still be there, only further down the page.