{"id":17125,"date":"2017-02-06T15:30:41","date_gmt":"2017-02-06T20:30:41","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=17125"},"modified":"2017-02-06T15:30:41","modified_gmt":"2017-02-06T20:30:41","slug":"building-a-lisp-from-scratch-with-swift","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/02\/06\/building-a-lisp-from-scratch-with-swift\/","title":{"rendered":"Building a LISP From Scratch With Swift"},"content":{"rendered":"<p><a href=\"https:\/\/www.uraimo.com\/2017\/02\/05\/building-a-lisp-from-scratch-with-swift\/\">Umberto Raimondi<\/a> (via <a href=\"https:\/\/twitter.com\/NatashaTheRobot\/status\/828648452796055554\">Natasha Murashev<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.uraimo.com\/2017\/02\/05\/building-a-lisp-from-scratch-with-swift\/\"><p>In this article, we&rsquo;ll implement a minimal LISP based on the 1978 paper by John McCarthy titled <em><a href=\"https:\/\/www.uraimo.com\/files\/MicroManual-LISP.pdf\">A Micro-Manual For Lisp - Not The Whole Truth<\/a><\/em>, that defines a small and self-contained LISP, as a Swift framework that will be able to evaluate strings containing LISP symbolic expressions.<\/p>\n<p>We&rsquo;ll eventually use that compact interpreter to build a simple REPL (Read-Eval-Print Loop) that will interactively execute statements and print out the result of the evaluation. A playground to play around with the interpreter is also available.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Umberto Raimondi (via Natasha Murashev): In this article, we&rsquo;ll implement a minimal LISP based on the 1978 paper by John McCarthy titled A Micro-Manual For Lisp - Not The Whole Truth, that defines a small and self-contained LISP, as a Swift framework that will be able to evaluate strings containing LISP symbolic expressions. We&rsquo;ll eventually [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[255,46,70,74,1341,71,901],"class_list":["post-17125","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-compiler","tag-languagedesign","tag-lisp","tag-opensource","tag-parse","tag-programming","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=17125"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17125\/revisions"}],"predecessor-version":[{"id":17126,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17125\/revisions\/17126"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}