Please Reload Every Time You Read This Page!

CSC123/252: Programming Languages, Fall 2007

Dr. Chuck C. Liang
Associate Professor of Computer Science, Hofstra University .

Office Address:
201A Adams Hall
Hofstra University
Hempstead, NY 11550
Office Phone: (516 463) 5559

Email: cscccl@hofstra.edu (<- click to send me mail)

Official Office Hours: Monday through Thursday 3-4pm


Course Syllabus and Goals

Online Resources:

Some lambda calculus in Python

Scheme Programs (files in bold are required reading)

Perl Programs (supplements the Perl tutorial. Files in bold are required reading) C# Programs ( Files in bold are required reading) AspectJ Programs (All required reading)


Homework 1. due 9/20
Scheme Lab and assignment. Due 10/4
Instructions on using the 019 lab
Some code from 9/25 class
List code in C and Scheme. from 10/2 class.
Perl-Scheme lab and assignment
Some miscellaneous perl code, similar to those from 10/11 class
More examples of objects: Rational numbers in Scheme, Perl, C++, Java, and C#, and for something really special: rationals in Eiffel : rational.e, rats.e.
Inheritance example (sports teams) in Scheme, Perl, and C#
Comparing inheritance between pure C, and C# (based on 10/18 lecture)
My artistic side: a poem in C++
Use of pointers and casting in C compared to C++
Algebraic types in ML


C# Warmup Assignment due Tuesday 10/30 (firm deadline). This is an INDIVIDUAL assignment.
THE HALLOWEEN ASSIGNMENT

The Food Assignment. Your xmlwriter visitor should write files consistent with this example.
Food files: foods.cs, foodvisitors.cs aboutfood.cs.

AspectJ Assignment Part A. The first problem of part A is due Tuesday 12/4, and should be completed individually.
problem B3 of the AOP assignment, with support files figure.java and figs.java. (main is in figs.java).


Announcements:

Final Exam RESCHEDULED to Tuesday 12/18 at 6:15pm, adams 200.

I'll be on campus Monday at around 3-4:30pm. If enough people show up we can hold another review session. In any case I'll be available to answer questions then.

Use the exam study guide, now with sample solutions to the practice problems.
Review Session Tuesday 12/11 at 5pm, in Adams 019.

To run the ajc compiler on windows, you must use the windows "cmd" command line (don't use the cygwin shell). Add the required paths for both java and asjectj to system-enviornment variable Path. Make sure you have java and javac working first before trying to install aspectj. Use the java from java.sun.com.

Scheme can now also be run on the linux machines in Adams 204. Execute the command

/shared/csc/local/bin/scheme --library /shared/csc/local/lib/mit-scheme
You can create an alias or shell script to make this easier.