COSC 152
PROGRAMMING LANGUAGES
Course Homepage
Fall, 2004


This is a Web site for one semester of 152. Although the course always covers basic concepts of programming languages, the details may differ quite a bit from semester to semester.


Course Description:
A comparative study of programming paradigms and representative high-level programming languages. Topics include control of data, control of execution, operating environment, and the role of a language as an organizational tool.

Syllabus

Homework Assignments

Some comments on the final exam topics

FINALS WEEK OFFICE HOURS
I'll be in my office Tues, Dec 14, 2-4PM and Wed, Dec 15, 10AM-12. If you would like to meet some other time, just email me.


JNI Tutorial
Here is the trail of the Sun Java Tutorial which discusses using the Java Native Interface (JNI).

Smalltalk
I have a few on-line documents describing Little Smalltalk. There is an Introductory Manual that describes some of the basic syntax and features, the Class Hierarchy we discussed in class, and a comprehensive Methods List which documents every method of every standard class in Little Smalltalk. Please note the Methods List is very long, so don't print it out.
Sample Smalltalk programs
This is just a link to the directory ~mikes/152/smalltalk on studsys. These are the programs we've discussed in class and some log files.
Smalltalk man page
Here's the Unix man page for Little Smalltalk.

Intro to Perl
The document I handed out in class.

Regular Expressions in Perl programs
Regular expression in Perl programs follow the rules given for the regexp system utility. This is the relevant section of the man page for regexp.

Sample Perl programs
This is just a link to the directory ~mikes/152/perl on studsys. These are the programs we've discussed in class and some input files.

Official Perl website
This page, maintained by O'Reilly publishers, has everything you'd ever want to know about Perl and its uses. I'd particularly recommend looking at the discussion of the ?? operator in the "Perlland" section of the page as a real example of programming language issues.

Perl reference manual
An HTML reference manual for perl.

Sample Lisp programs
This is just a link to the directory ~mikes/152/lisp on studsys. These are the programs we've discussed in class and some log files.
NOTE: Some of these programs include the greater than symbol (>). Unfortunately, some browsers may not display this symbol, or may not display these lisp programs as text files. If you have trouble, then viewing the page source in your browser, or just saving the page to a file from the browser (rather than cutting and pasting from the display) may help. You can also copy the files directly from the studsys directory.

Common Lisp the Language, 2nd Edition
The clisp interpreter is based on the language described in the first edition of this book. So, while some of the advanced features described in this second edition may not be implemented, this should be a good on-line reference for clisp.

FORTRAN 77
Basic info on compiling and running Fortran programs along with a few sample programs.

F77 Standard language description

Using UNIX
A few of you are new to our system. studsys is a computer operated by the Department of Math, Stat, and Comp Sci for use by our majors and in our classes. It is a Sun computer which runs the Unix operating system. You might find these lessons on How to logon to studsys, Unix and the vi text editor useful. These are lessons from COSC 051.


This site created and maintained by Dr. Michael C. Slattery of Marquette University.
You can contact me at mikes (a) mscs.mu.edu.