CS 5314: Concepts of Programming Languages
Spring 2016

Study Homework

January 26, 2016: Homework 1
Homework 1 Answers

January 31, 2016 an additional parsing problem for LR parsing.

Consider the following grammar:

You cn think of L as an l-value and R as an R-value.

March 2, 2016 ]
Homework 2
Note: the quasi-Prolog definition of app has been corrected in HW2. The Scheme definition of app was always correct.

March 22, 2016
Homework 3 - Scheme practice.
Reverse functions
Membership in a list
Count of all numbers in a list (with possible nesting)

April 10, 2016
Homework 4 - static and dynamic scope, virtual function resolution with type-based algorithms, points-to analysis
Correction to Virtual Function resolution answer (5/6/16)

April 25, 2016
Homework 5 - Lambda calculus and overloaded virtual methods

last changed at 11:05am May 6,2016 BGR.