Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
ops5.l.txt | 2023-04-11 | 111.9 kB | |
Source.txt | 2023-04-11 | 83 Bytes | |
ops5-README.txt | 2023-04-11 | 1.2 kB | |
Totals: 3 Items | 113.3 kB | 0 |
The OPS5 source code is in this directory in the file ops5.l. A compiled version is in the file ops5.b. To use OPS5, use the HP-UX command ln to link $aicontrib/ops5/ops5.b to /lisp/modules/local/ops5.b. Then, from Common Lisp, execute (require "ops5") whenever you want to use OPS5. If this does not work, recompile the source code and relink it. There are two symbols, namely remove and write, which occur in both the lisp and ops5 packages. If you are using OPS5, you probably want to give precedence to its definitions of these symbols. To do so, execute the Common Lisp form (shadowing-import '(ops5:remove ops5:write)). Then execute (use-package 'ops5) or preface calls to OPS5 facilities by ops5:. If you fail to do the shadowing-import, you will generate a continuable error to deal with the package conflict. If you have HP Prolog present in your dump file, there are more symbol conflicts. Handle them in the same way. No on-line documentation is provided. An excellent source of information on OPS5 is the book Programming Expert Systems in OPS5 An Introduction to Rule-based Programming by Lee Brownston, Robert Farrell, Elaine Kant, and Nancy Martin published in 1985 by Addison-Wesley.