Search
Friday, 10th of April 2020, 13:55:10 UTC
14:11:19
Shinmera
Colleen: tell francogrex look up mmap
14:11:19
Colleen
francogrex: About mmap https://shinmera.github.io/mmap#about_mmap
15:12:09
flip214
when using MACROEXPAND(-ALL), can I tell sbcl to use the environment it's currently running the form in, so that the currently active bindings are seen by the macros?
15:24:23
phoe
yes, they accept the &environment arg
15:24:46
phoe
but you need a macro to access its value
15:29:25
flip214
I tried to copy CAPTURE-ENV from the SBCL tests... but it seems to capture only local functions, and not special variables
15:33:22
pjb
(defmacro expand (&environment env expression) (macroexpand expression env)) (macrolet ((moo (x) `'(in moo ,x))) (expand (moo 42))) #| --> (in moo 42) |#
15:54:42
flip214
yeah, right, I could try to expand in a macro and return the expansion from it... does that match my needs?
15:57:14
beach
flip214: Have you explained what it is you are trying to accomplish? I must have missed it. But it sounds like you need some other tools.
16:02:13
flip214
beach: yeah, a less-impaired brain perhaps ;)
16:03:57
beach
I was thinking more about some Cleavir processing.
21:39:37
Lord_of_Life_
** NICK Lord_of_Life
Saturday, 11th of April 2020, 1:55:10 UTC