The JAPE riddle generator: technical specification

Although the JAPE riddle generator has attracted significant attention and there are published accounts of its performance, there has been no detailed technical statement of its internal workings. This paper remedies that, by providing formal definitions of the program’s data structures, rules and procedures. The most important rules, the schemata, are listed in full in an appendix.