; your code goes here (deftemplate Book_Info (slot Book_title) (slot Author_name) (slot Publisher_name) (slot Edition) ) CLIPS> (deftemplate Book_Info "Information about a book" (slot Book_title) (slot Author_name) (slot Publisher_name) (slot Edition)) CLIPS> (assert (Book_Info (Book_title "The Catcher in the Rye") (Author_name "J.D. Salinger") (Publisher_name "Little, Brown and Company") (Edition "First Edition"))) CLIPS> (assert (Book_Info (Book_title "1984") (Author_name "George Orwell") (Publisher_name "Secker & Warburg") (Edition "Second Edition"))) CLIPS> (assert (Book_Info (Book_title "To Kill a Mockingbird") (Author_name "Harper Lee") (Publisher_name "J.B. Lippincott & Co.") (Edition "50th Anniversary Edition"))) CLIPS> (assert (Book_Info (Book_title "Moby-Dick") (Author_name "Herman Melville") (Publisher_name "Richard Bentley") (Edition "Third Edition"))) CLIPS> (assert (Book_Info (Book_title "Pride and Prejudice") (Author_name "Jane Austen") (Publisher_name "T. Egerton") (Edition "Penguin Classics Edition"))) CLIPS> (assert (Book_Info (Book_title "The Great Gatsby") (Author_name "F. Scott Fitzgerald") (Publisher_name "Charles Scribner's Sons") (Edition "Sixth Edition"))) CLIPS> (assert (Book_Info (Book_title "Brave New World") (Author_name "Aldous Huxley") (Publisher_name "Chatto & Windus") (Edition "Vintage Classics Edition"))) CLIPS> (assert (Book_Info (Book_title "The Hobbit") (Author_name "J.R.R. Tolkien") (Publisher_name "George Allen & Unwin") (Edition "Fifth Edition"))) (exit) ; empty line at the end
Standard input is empty
[EXPRNPSR3] Missing function declaration for slot. [EXPRNPSR3] Missing function declaration for slot. [EXPRNPSR3] Missing function declaration for slot. [EXPRNPSR3] Missing function declaration for slot. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition. [EXPRNPSR3] Missing function declaration for Book_title. [EXPRNPSR3] Missing function declaration for Author_name. [EXPRNPSR3] Missing function declaration for Publisher_name. [EXPRNPSR3] Missing function declaration for Edition.