PROLOG PROGRAMMING CONSULTANT Written by Edouard Lagache, Berkeley Received via Prolog Digest V6 #28 Shelved on the 3rd of October 1988 This program is intended to serve as a "intelligent consultant" for PROLOG programs to turn to when encountering some impasse in a programming project. The program is based on the "Eliza" program, but it designed to provide comments that might foster the user to "solve" his or her own problem. (Copyright(C) 1988, The PROLOG Forum). The "assistant" was demonstrated at the March 10 meeting of the PROLOG Forum. The program is the result of 3 late night work, and NO claims of correctness or efficiency are expressed on implied. On the contrary, suggestions for expansion or improvement are most welcome. As stated earlier, it is hoped to turn this program into a group project, so we hope that there is plenty of room for expansion! There are some calls to my imfamous PROLOG libraries. The 'window' and 'set_attribute' calls will only work on a Texas Instruments PC, so I leave it to you to omit, or port these calls to your system. Hack to your hearts delight! [EL]. I've removed calls to non-portable windowing predicates, added the definition of member/2 (which was needed by intersection/3), re-formatted the source, and dropped a non-portable call from get_seed/1. [JNP]. SIZE: 28 kilobytes. CHECKED ON EDINBURGH-COMPATIBLE (POPLOG) PROLOG : Yes. PORTABILITY : irandom and get_seed, in the random-number generator, may need altering. INTERNAL DOCUMENTATION : Each predicate is commented with its purpose.