CSC324 Tutorials, Summer 1999

Tutorial 1 (Eric Joanis): Context Free Grammars. (Chapter 2 of Sethi, Sections 2.4 - 2.6)

Tutorial 2, Part 1 (Eric Joanis): Statements. (Chapter 3 of Sethi)

Tutorial 2, Part 2 (Eric Joanis): Parameter Passing Mechanisms and Scoping. (Chapter 5 of Sethi)

Tutorial 3 (Ryan Meredith-Jones): Parameter Passing Mechanisms and Scoping. (Chapter 5 of Sethi)

Tutorial 4 (Ryan Meredith-Jones): Introduction to OO-paradigm. (Chapter 6 of Sethi, Sections 6.4-6.6, 6.8) Here is the reduced file (4pages on one) that you can view, or download and print.

Warning: To successfully view the material for tutorials 3 and 4, "ghostview" is probably not going to work. Try instead "gv" that works. You may have to copy these files to your home directory before viewing or printing them.

Tutorial 5 (Ryan Meredith-Jones): Operator Overloading.

Tutorial 6 (Eric Harley): Introduction to Scheme (Chapter 10 of Sethi, Sections 10.1-10.3); Functions, Helping Functions, Lambda Expressions, Built-in Functions, etc.

Tutorial 7 (Eric Harley): Scheme ; (Unrestricted) lambda Expressions, Recursive Functions, and Accumulators.

Tutorial 8 (Eric Harley): Scheme ; More useful examples.

Tutorial 9 (Peeter Piegaze): Prolog; Introduction to Prolog; small examples.

Tutorial 10 (Peeter Piegaze): Prolog; Unification.

Tutorial 11 (Peeter Piegaze): Prolog; Backtracking and the (famous) cut.