freenode/lisp - IRC Chatlog
Search
11:01:54
xificurC
I got lost in reasoning about a double backticked form. What would be a good resource to read about how backquote is processed? If there was a part about double backquotes or macro-writing-macros that would be even better
11:02:21
no-defun-allowed
I think the cl-d protocol is sussed out now. I've finished an event loop macro and I'm going to write all the cl-d primitive requests tomorrow.
11:08:17
no-defun-allowed
cl-decentralise's event-loop uses a make-event which matches the event forms and e-l simply loops over with some gensyms too.
11:25:35
splittist
xificurC: you can also read Appendix C of CLtL2 https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node367.html#BACKQUOTESIMULATOR
11:25:43
makomo
it's part of my personal notes, i.e. i don't have a blog, but i might rework it a bit and send it
11:26:16
makomo
xificurC: it becomes really simple once you start to see the "patterns" imo. it's just like any other concept really
11:28:02
makomo
xificurC: oh, perhaps also take a look at the two comments i posted here: https://www.reddit.com/r/learnlisp/comments/98gssu/sbcl_inserting_comma_in_macro_transformation/
11:28:30
makomo
they might not be 100% precise, but i tried my best. suggestions welcome. :-) it's not meant to be a tutorial on backquote though, but i did mention some general techniques/things
11:32:59
makomo
xificurC: also, take a look at Bawden's paper https://web.archive.org/web/20170701182144/http://repository.readscheme.org/ftp/papers/pepm99/bawden.pdf . it mentions a funny anecdote about steele as well :-)
11:40:59
makomo
xificurC: after you start to understand it better (or perhaps you can do it in parallel), i would recommend studying ONCE-ONLY (i prefer Alexandria's version to the one found in PCL) https://github.com/keithj/alexandria/blob/master/macros.lisp#L30
12:51:17
russellw
http://www.lispworks.com/documentation/lw61/CLHS/Body/f_coerce.htm#coerce doesn't explicitly say you can coerce a list of characters to a string, but one of the examples implies it, and it works in SBCL. Is it something that can be relied on, in portable code?
12:52:17
beach
russellw: A string is a vector of characters, and it is possible to coerce a list to a vector.
12:53:45
russellw
ah! so the part about sequences, is intended to imply that, if one knows about the relationship between the kinds of vectors? Okay, thanks!
14:31:54
paule32
*** - SETQ: '(GENITIV '(DES BAKTERIUMS '(DER BAKTERIEN)) (SUBSTANTIV SÄCHLICH LEBEWESEN)) is no symbol.
14:32:47
Bike
you've been around here what, two years? you need to seriously reevaluate your process.