{"id":4402,"date":"2019-07-06T00:04:05","date_gmt":"2019-07-05T19:34:05","guid":{"rendered":"http:\/\/qualityassignmenthelp.com\/?p=4402"},"modified":"2025-09-01T10:37:25","modified_gmt":"2025-09-01T06:07:25","slug":"animals-program-in-lisp","status":"publish","type":"post","link":"https:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/","title":{"rendered":"Animals program in LISP"},"content":{"rendered":"\r\n<h2 class=\"wp-block-heading\">Animals Program in LISP<\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The Animals program in LISP already used in many programming education sites because it&#8217;s quite fun and easy to implement, and shows how a computer can interactively create a database with the request from the user. It can be written quite easily in Lisp by taking advantage of list handling.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Description of Animals Program in LISP<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The description of Animal program in lisp is as follows; The Animals game tries to predict the animal you are dreaming of. To start the game you simply type:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">CL-USER &gt; (play-animals)<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The program then asks a series of questions, such as:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/proxy\/lZoXzT0os6n67w6W1GXkLKKU18azsn7mUfr8tW-rNGBuVbVvuAzZeQpn1jb9JknsspMooi_0ZqJ6rWUl_-SPGbovMYGt_g=s0-d\" alt=\"Question.png\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">to which you answer\u00a0<strong>Yes<\/strong>\u00a0or\u00a0<strong>No<\/strong>\u00a0as needed. Gradually it makes a guess of the animal:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/proxy\/IQanRduP6mbRBhoIG9edFpyHRyOV_aMVuIszMu5LglPmnxXmCyagH8RF_OQrwOX4lUUNyytGor4t23lRz5demwjQmQ=s0-d\" alt=\"Guess.png\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">If it was true the game will be ended. However, <strong>No<\/strong>\u00a0was clicked program will ask:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/proxy\/e8iCONSlYG3AA3BTWdEVD5A52SD8hAepp7hW6bWAov40qkRfNDWe06aT6SI9wP4pPZ2maB9iMAT1w8WkFM9RMWnShgDP6w=s0-d\" alt=\"Thinking.png\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">You will be prompt to add a question to the tree:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/proxy\/pjCrSH0L76taqSGwgJZ1_YrkXaGEZkdkaGuPoi068iDQNLgMcnMe2uBHUJo7j3iCOmvo1_y7Y0s9omnPKth7IQiOAx9SWPKp5oU=s0-d\" alt=\"GiveQuestion.png\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Finally the program needs to know the correct answer for the new animal:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/proxy\/B6XOMQFn9E79mKYWZWfn6BDO211zcx7JDvaZOoQZjfItTrYnUS_g1dKZDFsP_1yHQCnpY_7mpfme8KFwm19x3dwr_A=s0-d\" alt=\"Train.png\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">As a result of this doing new animal will be in the database, and in the next plays the program will already know about it.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Designing the Animal Program in LISP<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We will represent the database as a tree of questions and animals. The animal program in lisp starts with one question and two animals:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/proxy\/BNdBL7X_RCDvhMG2pQeVo-GtTjTIBF4q0i27eYJblcuRqb8OafeZukKFuV_D3E2FgLM5BfgFBxH84FujuFukhm-R9A=s0-d\" alt=\"Tree1.gif\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We&#8217;ll represent the tree as a Lisp list, of the form:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(question yes-answer no-answer)<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So for the tree shown above the list will be:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(\"Is it living in the sea?\" \"a dolphin\" \"a horse\")<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We will store the database tree in a variable called *tree*, so we&#8217;ll start by defining:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defparameter animals-tree '(\"Is it living in the sea?\" \"a dolphin\" \"a horse\"))<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">After it has passed training with 2 next animals whole tree probably will look like below:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/proxy\/PwMa_yn-_Vxe7h8VPjQQCSkzQDrMRsGe5gzzOv7w1aBjpx78p_neQo9E_FGx61XuiT5Dt9g96mjnd67meDOamvyl8w=s0-d\" alt=\"Tree2.gif\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Below located Lisp representation, needed to make whole structure clearer:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(\"Does it live in the sea?\"\r\n \"a dolphin\" \r\n (\"Does it have 4 legs?\" \r\n  \"a horse\"\r\n  (\"Can it fly?\" \r\n   \"a raven\"\r\n   \"a human\")))<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We&#8217;re going to build the animals program in LISP out of four different functions:\u00a0 <strong>make-assumption<\/strong>,\u00a0<strong>learn-animal<\/strong>,\u00a0<strong>animals<\/strong>, and <strong>ask-question<\/strong>. We could have combined some of these functions but the advantage of breaking it down into small and separate building-blocks needed for independent testing.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Learning a new animal<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">First let&#8217;s define the procedure to learn a new animal:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun learn-animal (animal new-animal)\r\n;;first menu here  \r\n(let ((question\r\n         (capi:prompt-for-string\r\n;; first answer\r\n          (format nil \"yes\/no between ~a and ~a\" \r\n                  new-animal animal))))\r\n;; second menu here  \r\n  (if \r\n;;look again\r\n(capi:prompt-for-confirmation\r\n;;our second answer here \r\n         (format nil \"the answer be for ~a?\" new-animal))\r\n        (list question animal new-animal))\r\n;;final\r\n    (list question new-animal animal)))<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This takes two parameters: a new animal and an already existing one. It prompts for a question, and the correct answer for the new animal, and returns a list of the question and answers in the correct order. For example:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(learn-animal \"a cat\" \"a dog\")<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">will prompt:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Yes\/no between a dog and a cat<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">and<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>What would the answer be for a dog?<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">and return the appropriate list; for example<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(\"Does it bark?\" \"a dog\" \"a cat\")<\/pre>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Making an assumption<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The following\u00a0procedure,\u00a0<strong>make-assumption<\/strong>, is needed when we&#8217;ve got to an animal on the tree. It takes our animal as its parameter, and predicts that as the answer. If it&#8217;s right it simply states the animal. If it&#8217;s wrong, it calls\u00a0<strong>learn-animal<\/strong>\u00a0to make a list which have a new question and the 2 answers.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun make-assumption (animal)\r\n;;start of it\r\n  (if (capi:prompt-for-confirmation (format nil \"It's ~a?\" animal))\r\n;;displaying message\r\n      (let ((message (capi:display-message \"Hurray!\")))\r\n        animal)\r\n;;final\r\n    (learn-animal animal (capi:prompt-for-string \"About what are you thinking?\"))))\r\n<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We have changed text a bit to differ it from what&#8217;s on images, but do not worry, you can create your own versions of this.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Asking a question<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>ask-question<\/strong> is called at the moment when we&#8217;re at a question point on our tree. It prompts with the question and depending on whether the answer is yes or no it calls\u00a0<strong>animals<\/strong>\u00a0on the left branch or right branch of the tree respectively.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun ask-question (tree)\r\n;;start of it\r\n  (if (capi:prompt-for-confirmation (first tree))\r\n;;middle stage of tree\r\n      (list (first tree) \r\n;;building\r\n(animals (second tree)) (third tree))\r\n;;final stage of all questions\r\n    (list (first tree) \r\n;;building again with a bit different order\r\n(second tree) (animals (third tree)))))<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">It returns the complete tree, modified to add a new animal if one was added.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">The main procedure &#8211; animals<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Finally here&#8217;s the main\u00a0procedure,\u00a0<strong>animals<\/strong>. It is called with the current position on the tree as the parameter, and simply calls\u00a0<strong>ask-question<\/strong>\u00a0and if parameter appears a list, stating that more questions need to be asked, or\u00a0<strong>make-guess<\/strong>\u00a0needed if it&#8217;s an animal, stating that we&#8217;re at the bottom of our branch.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun animals (tree)\r\n  (if (listp tree)\r\n      (ask-question tree)\r\n    (make-assumption tree)))<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To save the modified tree we need to save it back as\u00a0<strong>*tree*<\/strong>. Here&#8217;s a routine\u00a0<strong>play-animals<\/strong>\u00a0that does that for us:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun play-animals ()\r\n  (setf animals-tree (animals animals-tree)))<\/pre>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Saving the tree<\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Note that the value of\u00a0<strong>*tree*<\/strong>\u00a0should be saved to disk if you want to preserve the results of training your database with new animals. Here&#8217;s a changed variant of\u00a0<strong>play-animals<\/strong>\u00a0that does that, saving the data in a file called\u00a0<strong>tree<\/strong>\u00a0at the top level of your hard disk. Note that this uses functions that we don&#8217;t explain in these tutorials so you&#8217;ll have to take them on trust:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">(defun play-animals ()\r\n  (when (probe-file \"tree\")\r\n;;it's all starts here\r\n    (with-open-file (stream \"tree\" :direction :input)\r\n      (setq animals-tree (read stream))))\r\n\r\n;;then we add what needed more below\r\n\r\n  (setq animals-tree (animals animals-tree))\r\n\r\n;;and a bit more\r\n  (with-open-file \r\n;;very important string here\r\n(stream \"tree\" \r\n;;take a look in lisp help\r\n:direction :output :if-exists :supersede)\r\n;;final output\r\n    (write animals-tree :stream stream)))<\/pre>\r\n\r\n\r\n\r\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"http:\/\/qualityassignmenthelp.com\/#quote\">Upload your project here<\/a><\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>Animals Program in LISP The Animals program in LISP already used in many programming education sites because it&#8217;s quite fun and easy to implement, and shows how a computer can\u2026 <a href=\"https:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/\" class=\"read-more-link\">read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4403,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[125,1584],"tags":[1590,1589],"class_list":["post-4402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-assignment","category-lisp","tag-lisp","tag-lisp-assignment"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.0 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Animals program in LISP<\/title>\n<meta name=\"description\" content=\"The Animals program in LISP already used in many programming education sites because it&#039;s quite fun and easy to implement\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Animals program in LISP\" \/>\n<meta property=\"og:description\" content=\"The Animals program in LISP already used in many programming education sites because it&#039;s quite fun and easy to implement\" \/>\n<meta property=\"og:url\" content=\"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/\" \/>\n<meta property=\"og:site_name\" content=\"No 1 Assignment Help Company, Programming Help, Final Year Project Help and Functional Programming experts online\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/qualityassignmenthelp\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/qualityassignmenthelp\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-05T19:34:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-01T06:07:25+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"220\" \/>\n\t<meta property=\"og:image:height\" content=\"218\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shami\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@qassignmenthelp\" \/>\n<meta name=\"twitter:site\" content=\"@qassignmenthelp\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shami\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/\"},\"author\":{\"name\":\"Shami\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/person\\\/e6d1597c7058b52f240b925deafa671b\"},\"headline\":\"Animals program in LISP\",\"datePublished\":\"2019-07-05T19:34:05+00:00\",\"dateModified\":\"2025-09-01T06:07:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/\"},\"wordCount\":756,\"publisher\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/lisp.png\",\"keywords\":[\"lisp\",\"lisp assignment\"],\"articleSection\":[\"Assignment\",\"Lisp\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/\",\"url\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/\",\"name\":\"Animals program in LISP\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/lisp.png\",\"datePublished\":\"2019-07-05T19:34:05+00:00\",\"dateModified\":\"2025-09-01T06:07:25+00:00\",\"description\":\"The Animals program in LISP already used in many programming education sites because it's quite fun and easy to implement\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/lisp.png\",\"contentUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/lisp.png\",\"width\":220,\"height\":218,\"caption\":\"lisp logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/qualityassignmenthelp.com\\\/animals-program-in-lisp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Animals program in LISP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#website\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\",\"name\":\"Final Year Project help and Programming Help\",\"description\":\"Best Assignment Help company for international students\",\"publisher\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#organization\",\"name\":\"Quality Assignment Help\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/logo.png\",\"width\":395,\"height\":140,\"caption\":\"Quality Assignment Help\"},\"image\":{\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/x.com\\\/qassignmenthelp\",\"https:\\\/\\\/om.linkedin.com\\\/pub\\\/shami-vk\\\/18\\\/5aa\\\/9b6\",\"https:\\\/\\\/myspace.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/www.pinterest.com\\\/qassignmenthelp\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCAN6RrlWc23ICshvCNFsEOg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/#\\\/schema\\\/person\\\/e6d1597c7058b52f240b925deafa671b\",\"name\":\"Shami\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g\",\"caption\":\"Shami\"},\"sameAs\":[\"http:\\\/\\\/qualityassignmenthelp.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/qualityassignmenthelp\",\"https:\\\/\\\/x.com\\\/qassignmenthelp\"],\"url\":\"https:\\\/\\\/qualityassignmenthelp.com\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Animals program in LISP","description":"The Animals program in LISP already used in many programming education sites because it's quite fun and easy to implement","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/","og_locale":"en_US","og_type":"article","og_title":"Animals program in LISP","og_description":"The Animals program in LISP already used in many programming education sites because it's quite fun and easy to implement","og_url":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/","og_site_name":"No 1 Assignment Help Company, Programming Help, Final Year Project Help and Functional Programming experts online","article_publisher":"http:\/\/www.facebook.com\/qualityassignmenthelp","article_author":"https:\/\/www.facebook.com\/qualityassignmenthelp","article_published_time":"2019-07-05T19:34:05+00:00","article_modified_time":"2025-09-01T06:07:25+00:00","og_image":[{"width":220,"height":218,"url":"http:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","type":"image\/png"}],"author":"Shami","twitter_card":"summary_large_image","twitter_creator":"@qassignmenthelp","twitter_site":"@qassignmenthelp","twitter_misc":{"Written by":"Shami","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#article","isPartOf":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/"},"author":{"name":"Shami","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/person\/e6d1597c7058b52f240b925deafa671b"},"headline":"Animals program in LISP","datePublished":"2019-07-05T19:34:05+00:00","dateModified":"2025-09-01T06:07:25+00:00","mainEntityOfPage":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/"},"wordCount":756,"publisher":{"@id":"https:\/\/qualityassignmenthelp.com\/#organization"},"image":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#primaryimage"},"thumbnailUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","keywords":["lisp","lisp assignment"],"articleSection":["Assignment","Lisp"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/","url":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/","name":"Animals program in LISP","isPartOf":{"@id":"https:\/\/qualityassignmenthelp.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#primaryimage"},"image":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#primaryimage"},"thumbnailUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","datePublished":"2019-07-05T19:34:05+00:00","dateModified":"2025-09-01T06:07:25+00:00","description":"The Animals program in LISP already used in many programming education sites because it's quite fun and easy to implement","breadcrumb":{"@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#primaryimage","url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","contentUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","width":220,"height":218,"caption":"lisp logo"},{"@type":"BreadcrumbList","@id":"http:\/\/qualityassignmenthelp.com\/animals-program-in-lisp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/qualityassignmenthelp.com\/"},{"@type":"ListItem","position":2,"name":"Animals program in LISP"}]},{"@type":"WebSite","@id":"https:\/\/qualityassignmenthelp.com\/#website","url":"https:\/\/qualityassignmenthelp.com\/","name":"Final Year Project help and Programming Help","description":"Best Assignment Help company for international students","publisher":{"@id":"https:\/\/qualityassignmenthelp.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/qualityassignmenthelp.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/qualityassignmenthelp.com\/#organization","name":"Quality Assignment Help","url":"https:\/\/qualityassignmenthelp.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/logo\/image\/","url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2020\/05\/logo.png","contentUrl":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2020\/05\/logo.png","width":395,"height":140,"caption":"Quality Assignment Help"},"image":{"@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/qualityassignmenthelp","https:\/\/x.com\/qassignmenthelp","https:\/\/om.linkedin.com\/pub\/shami-vk\/18\/5aa\/9b6","https:\/\/myspace.com\/qualityassignmenthelp","https:\/\/www.pinterest.com\/qassignmenthelp\/","https:\/\/www.youtube.com\/channel\/UCAN6RrlWc23ICshvCNFsEOg"]},{"@type":"Person","@id":"https:\/\/qualityassignmenthelp.com\/#\/schema\/person\/e6d1597c7058b52f240b925deafa671b","name":"Shami","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4df1664ac7ce3e35fb32384c62533a184571ca8f47782dd878a768f2021e5d9?s=96&d=mm&r=g","caption":"Shami"},"sameAs":["http:\/\/qualityassignmenthelp.com\/","https:\/\/www.facebook.com\/qualityassignmenthelp","https:\/\/x.com\/qassignmenthelp"],"url":"https:\/\/qualityassignmenthelp.com\/author\/admin\/"}]}},"jetpack_featured_media_url":"https:\/\/qualityassignmenthelp.com\/wp-content\/uploads\/2019\/06\/lisp.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/comments?post=4402"}],"version-history":[{"count":3,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4402\/revisions"}],"predecessor-version":[{"id":451824,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/posts\/4402\/revisions\/451824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/media\/4403"}],"wp:attachment":[{"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/media?parent=4402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/categories?post=4402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qualityassignmenthelp.com\/wp-json\/wp\/v2\/tags?post=4402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}