{"id":12658,"date":"2015-10-23T13:16:15","date_gmt":"2015-10-23T17:16:15","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=12658"},"modified":"2015-10-23T13:16:15","modified_gmt":"2015-10-23T17:16:15","slug":"lisp-implemented-in-sed-and-make","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/10\/23\/lisp-implemented-in-sed-and-make\/","title":{"rendered":"Lisp Implemented in sed and Make"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/shinh\/sedlisp\">SedLisp<\/a> (via <a href=\"https:\/\/twitter.com\/moonmaster9000\/status\/643923003525451776\">Matthew Kane Parker<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=10221515\">comments<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/shinh\/sedlisp\"><p>Though this Lisp implementation does not support eval function, we can implement eval on top of this interpreter - eval.l is the implementation.<\/p><\/blockquote>\n<p><a href=\"https:\/\/github.com\/shinh\/makelisp\">MakeLisp<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=10219512\">comments<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/shinh\/makelisp\"><p>GNU make has two builtin functions, <code>$(shell)<\/code> and <code>$(guile)<\/code>, which make the implementation less interesting. For example, GNU make lacks arithmetic operations, but you can easily add two numbers by <code>$(shell expr 3 + 4)<\/code> or <code>$(guile (+ 3 4))<\/code>. So, makelisp does not use either of them, except a single <code>$(shell cat \/dev\/stdin)<\/code> function call to make it easier for users to pass Lisp programs to makelisp.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>SedLisp (via Matthew Kane Parker, comments): Though this Lisp implementation does not support eval function, we can implement eval on top of this interpreter - eval.l is the implementation. MakeLisp (comments): GNU make has two builtin functions, $(shell) and $(guile), which make the implementation less interesting. For example, GNU make lacks arithmetic operations, but you [&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,70,1182,71,1306],"class_list":["post-12658","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-compiler","tag-lisp","tag-make","tag-programming","tag-sed"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12658","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=12658"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12658\/revisions"}],"predecessor-version":[{"id":12659,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12658\/revisions\/12659"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=12658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=12658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=12658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}