Links for Prolog code in class directory. Tip: while viewing, copies
of the Prolog code can be written to your directory by selecting File,
then Save As...
Three implementations of the code which constructs a sentence in a
context-free languages. Grammar for breakfast included.
Code also described in Section 3.6 of Programming in Prolog
(Clocksin and Melish).
Presented in class 7 to 12 February 1996. File Name: cfl.pro.
Definition of a print operator that works like the C++ insertion operator.
Can be used to send output to the terminal or to a variable.
Presented in class 28 February 1996. File Name: str.pro.
Rules for the backward-chaining propositional logic shell used for
identifying an unknown animal. Based on the rules in the Artificial
Intelligence (Winston) textbook. File Name: sbcWin.
Rules for the BC OAV shell.. Determines if a menu has anything a picky
eater will eat. Unlike simple version, will ask about unknown foods. File Name: roPE2.pro.