Question: Expand the logic programming interpreter to include LISP write statements. This will allow rules to print messages directly to the user. Hint: modify solve first
Expand the logic programming interpreter to include LISP write statements. This will allow rules to print messages directly to the user. Hint: modify solve first to examine if a goal is a write statement. If it is, evaluate the write and return a stream containing the initial substitution set.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
