CSC301 Homepage

Fundamentals of Programming Languages

Spring 2008

Description:

Language enables thought.  In this course we study a class of formal languages known as programming languages.  Similar to natural languages, these formal languages enable us to to reason about algorithms and procedures to solve computational problems on computers. However, their  formal nature restricts the kind of meanings particular language constructs can assume and therefore makes them amenable for the execution on a computer.

Over the years many different programming language dialects have evolved to address particular technical issues, e.g. object-oriented languages, real-time languages, database query languages, logic languages, etc.  Here we study the major structures of modern programming languages. Understanding not only the syntax of a language but also the semantics and implementation techniques of this language will allow you to design better programs.  Having deeper insights into the design of a programming language will also enable you to learn new programming languages much faster.  Having a thorough understanding of today's languages allows you to design the programming languages of tomorrow.

Objective

Upon completion of this course

Announcements:

>> Final Examination, Tuesday May 6th, Wales Rm 226, 8am-11am, **open book/open notes**

[4/21/08] Posted homework assignment #7, see Lecture notes
[4/16/08] Here are the Prolog rules for the operational semantics, use these instead of typing them in from scratch:
val1(plus(X,Y),Value) :-
	val1(X,XValue),
	val1(Y,YValue),
	Value is XValue + YValue.

val1(times(X,Y),Value) :-
	val1(X,XValue),
	val1(Y,YValue),
	Value is XValue * YValue.

val1(const(X),X).
[4/14/08] Posted homework assignment #6
[4/7/08] Posted programming assignment #7
[4/2/08] Posted programming assignment #6
[3/31/08] Posted programming assignment #5
[3/26/08] Posted homework assignment #5
[3/10/08] Posted programming assignment #4
[3/5/08] Posted programming assignment #3
[2/29/08] Posted programming assignment #2
[2/26/08] Posted HW4.
[2/23/08] Posted programming assignment #1
[2/17/08] Homework solutions to HW1, HW2, and HW3.
[2/12/08] posted the missing slides
[2/12/08] Quiz #1, Tuesday 2/19, chap 1-4
[2/12/08] posted homework assignment #3
[2/6/08] posted homework assignment #2
[1/30/08] ** NO CLASS Tuesday 2/5 **
[1/1/08] Welcome!

Documents of Interest:


NOTE: email submissions are not acceptable for both homework assignments and programming assignments.

Homework Assignments:

Programming Assignments:

For each programming assignment you will need to submit your source code and proof that your program runs on sample input, e. g., screen shot, cut and paste the results of the run into a MS Word document etc.).  Also, please follow the instructions given in the book for each problem carefully. 

Handwritten work will not be accepted as programming assignment.

Instructor:

Dr. Lutz Hamel
Tyler Hall, Room 251
Office Hours: Tuesday 2-3pm, Thursday 11am-12pm
email: lutz at inductive-reasoning dot com

TA:

TA:
Esmie Jose
Office Hours: Tyler Hall 135, Mon & Wed 1-2pm
phone: 874-5864 email: jesmie@cs.uri.edu