Programs from Lecture
Sample Haskell programs from class
- Haskell programs for simulating DFSM
- Haskell program for using regular expressions
- Haskell programs for arithmetic expressions:
- Haskell programs for the PCF languages
- PCF with let expressions:
Problem 2 of Homework 10 asks you to write an interpreter
that also works for let-expressions. A parser that generates
these terms is available here.