{"id":1008,"date":"2015-08-07T23:26:58","date_gmt":"2015-08-07T23:26:58","guid":{"rendered":"http:\/\/sdi.thoughtstorms.info\/?p=1008"},"modified":"2015-08-07T23:26:58","modified_gmt":"2015-08-07T23:26:58","slug":"clojure-reader-conditionals","status":"publish","type":"post","link":"https:\/\/blog.thoughtstorms.info\/?p=1008","title":{"rendered":"Clojure Reader Conditionals"},"content":{"rendered":"<p>So Clojure is getting <em><a href=\"http:\/\/danielcompton.net\/2015\/06\/10\/clojure-reader-conditionals-by-example\">Reader Conditionals<\/a><\/em> ie. a way to put Clojure \/ ClojureScript etc. variants into ordinary source files.<br \/>\nIt&#8217;s like .cljx files but without the separate pre-processor. Now the Clojure \/ ClojureScript compilers themselves will be able to pick out the variant of the code relevant to them.<br \/>\nMost of Patterning&#8217;s core is in .cljx format. I&#8217;m looking forward to moving to .cljc but it seems like this feature is so new (only in Clojure 1.7) I&#8217;d be better waiting a bit longer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So Clojure is getting Reader Conditionals ie. a way to put Clojure \/ ClojureScript etc. variants into ordinary source files. It&#8217;s like .cljx files but without the separate pre-processor. Now the Clojure \/ ClojureScript compilers themselves will be able to pick out the variant of the code relevant to them. Most of Patterning&#8217;s core is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[67],"class_list":["post-1008","post","type-post","status-publish","format-standard","hentry","category-zeitgeist","tag-clojurescript"],"_links":{"self":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1008"}],"version-history":[{"count":0,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1008\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}