Compiling with C# and Java - Exercises (Statements of problems posed)

Pat Terry, Rhodes University, 2021

This collection of exercises for a course in programming language translation (and their solutions) was devised to support and supplement the material in my book "Compiling with C# and Java". (Addison-Wesley, 2005. ISBN 0 321 26360 X)

The material is heavily based on the use of a compiler generator Coco/R, developed at the University of Linz by Hanspeter Mössenböck, and which is now freely available in implementations for many programming languages. The present collection has been developed in C# and Java, but incorporates material devised over some 20 years, including some developed earlier in Pascal, Modula-2 and C++, but now converted to C# and Java.

Follow the links below to read the text of the problems for each section.