cljs / api

ClojureScript API parser
http://cljs.github.io/api/
MIT License
193 stars 23 forks source link

mention quasiquote? #193

Open shaunlebron opened 2 years ago

shaunlebron commented 2 years ago

Wow! The reader emits fake calls to unquote functions— allowing for custom syntax-quote-like macros if you don’t like the one built into the reader:

Someone in 2008 wanted a syntax-quote without symbol resolution (i.e. quasi-quote) here, and Rich added the fake calls to allow it:

CleanShot 2022-10-01 at 09 43 09@2x

It looks like a canonical quasiquote was published four years later in 2012 (which I had starred and forgot about): https://github.com/brandonbloom/backtick


source: searched on clojurians slack for “syntax quote resolve” and saw all this unearthed by @NoahTheDuke here: https://clojurians.slack.com/archives/C03S1KBA2/p1656779374489749

CleanShot 2022-10-01 at 09 41 05@2x CleanShot 2022-10-01 at 09 41 24@2x