fork download
  1. (deftemplate Book_Info
  2. "Template to store information about books"
  3. (slot Book_title)
  4. (slot Author_name)
  5. (slot Publisher_name)
  6. (slot Edition))
  7.  
  8. ;Assert facts for books
  9. (assert (Book_Info
  10. (Book_title "The Road")
  11. (Author_name "Cormac McCarthy")
  12. (Publisher_name "Alfred A.Knopf")
  13. (Edition "1st")))
  14. (exit)
  15. ; empty line at the end
  16.  
  17. (reset)
  18.  
  19. (run)
  20.  
  21. (exit)
  22. ;
Success #stdin #stdout 0.01s 5296KB
stdin
1
2
10
42
11
stdout
Standard output is empty