NotThatRPG has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #commonlisp
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
zwr has quit [Read error: Connection reset by peer]
pranav has quit [Remote host closed the connection]
mishoo has joined #commonlisp
zwr has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
soweli_iki has quit [Remote host closed the connection]
fart_cat has quit [Ping timeout: 252 seconds]
shka has joined #commonlisp
weeks has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
eddof13 has joined #commonlisp
edgar-rft has joined #commonlisp
eddof13 has quit [Client Quit]
edgar-rft` has quit [Ping timeout: 268 seconds]
pve has joined #commonlisp
johnjaye has quit [Ping timeout: 265 seconds]
ingeniot has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 260 seconds]
mgl has joined #commonlisp
King_julian has joined #commonlisp
jjnkn has joined #commonlisp
pranav has joined #commonlisp
rgherdt has joined #commonlisp
garlic0x1 has quit [Quit: Ping timeout (120 seconds)]
garlic0x1 has joined #commonlisp
mgl has quit [Ping timeout: 276 seconds]
TactfulCitrus has joined #commonlisp
TactfulCitrus has quit [Remote host closed the connection]
Pixel_Outlaw has quit [Quit: Leaving]
fengshaun has quit [Quit: Ciao!]
bpanthi977 has quit [Ping timeout: 268 seconds]
fengshaun has joined #commonlisp
TactfulCitrus has joined #commonlisp
scymtym has quit [Ping timeout: 276 seconds]
scymtym has joined #commonlisp
Guest4125 has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 245 seconds]
veqq has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
Demosthe1ex has joined #commonlisp
Demosthenex has quit [Ping timeout: 268 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
mgl has joined #commonlisp
mgl has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 268 seconds]
ldb has quit [Remote host closed the connection]
ingeniot has quit [Quit: Client closed]
Cymew has joined #commonlisp
mgl has joined #commonlisp
Cymew has quit [Quit: Konversation terminated!]
bpanthi977 has joined #commonlisp
Cymew has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
ingeniot has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
stanrifkin has joined #commonlisp
wbooze has quit [Quit: Leaving]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
Cymew has quit [Quit: Konversation terminated!]
Cymew has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
Cymew has quit [Quit: Konversation terminated!]
Cymew has joined #commonlisp
decweb has joined #commonlisp
ingeniot has quit [Ping timeout: 240 seconds]
bpanthi977 has joined #commonlisp
jjnkn has quit [Ping timeout: 248 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
Cymew has quit [Quit: Konversation terminated!]
Cymew has joined #commonlisp
random-nick has joined #commonlisp
fart_cat has joined #commonlisp
bpanthi977 has joined #commonlisp
Cymew has quit [Quit: Konversation terminated!]
Cymew has joined #commonlisp
johnjaye has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 268 seconds]
ingeniot has joined #commonlisp
yitzi has joined #commonlisp
tr4gic has joined #commonlisp
bpanthi977 has joined #commonlisp
reb` has quit [Remote host closed the connection]
bpanthi977 has quit [Ping timeout: 276 seconds]
reb has joined #commonlisp
surabax has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
treflip has joined #commonlisp
JuanDaugherty has joined #commonlisp
treflip has quit [Read error: Connection reset by peer]
treflip has joined #commonlisp
bpanthi977 has joined #commonlisp
Cymew has quit [Quit: Konversation terminated!]
Cymew has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
Thermoriax has quit [Ping timeout: 276 seconds]
TactfulCitrus has quit [Ping timeout: 260 seconds]
Thermoriax has joined #commonlisp
TactfulCitrus has joined #commonlisp
wbooze has joined #commonlisp
bpanthi977 has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 252 seconds]
JuanDaugherty is now known as ColinRobinson
bpanthi977 has quit [Ping timeout: 248 seconds]
Cymew has quit [Quit: Konversation terminated!]
decweb has quit [Quit: Konversation terminated!]
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 252 seconds]
rtypo has joined #commonlisp
reb has quit [Ping timeout: 244 seconds]
ingeniot has quit [Quit: Client closed]
decweb has joined #commonlisp
brokkoli_origin has joined #commonlisp
ingeniot has joined #commonlisp
Cymew has joined #commonlisp
skeemer has joined #commonlisp
mange has quit [Quit: Zzz...]
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
Cymew has quit [Quit: Konversation terminated!]
NotThatRPG has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
luis3 has quit [Ping timeout: 252 seconds]
delvarus has joined #commonlisp
rgherdt has quit [Ping timeout: 244 seconds]
Cymew has joined #commonlisp
bpanthi977 has joined #commonlisp
rgherdt has joined #commonlisp
reb has joined #commonlisp
NotThatRPG has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bpanthi977 has quit [Ping timeout: 260 seconds]
tr4gic has quit [Read error: Connection reset by peer]
tr4gic has joined #commonlisp
Cymew has quit [Quit: Konversation terminated!]
NotThatRPG has joined #commonlisp
ingeniot has quit [Ping timeout: 240 seconds]
NotThatRPG has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luis1 has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
yitzi has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
<mgl>
I have a macro called NOTE that's like a named comment (e.g. (NOTE @MY -NOTE "hello")). NOTE can be wrapped around arbitrary code that's in an evaluated position. It can have other NOTEs in its body, in which case the child NOTEs need not be named as they directly concatenate their docstring to the docstring of their parent. In my current implementation, this concatenation happens as a side-effect at macro-expansion time, so they are lost
<mgl>
when loading compiled files into a fresh image. How do I make the side-effect happen at load-time, too, short of using a code walker? Note that the outermost NOTE may not be a top-level form.
eddof13 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
<beach>
How would a code walker help? In the compiled file, there are no longer any trace of any macro calls. They have all been expanded.
<beach>
Not that I understand how the side effect occurs, of course. And I don't know what @MY-NOTE is supposed to be, nor whether "hello" is an example of arbitrary code.
<mgl>
I don't know how a code walker would help, but I want to rule it out because I don't want that dependency.
treflip`` has joined #commonlisp
<mgl>
@MY-NOTE is a unevaluated symbol. It's the global name of the note.
<mgl>
"hello" is the docstring.
<beach>
So there is no "body"?
treflip` has quit [Ping timeout: 252 seconds]
<mgl>
In the example, no. But in general, yes.
<beach>
And what happens to the concatenation of the notes at macro-expansion time?
<beach>
Oh, and why are notes named?
<mgl>
The side-effect is similar to (SETF (GET '@MY-NOTE 'NOTE) CONCATENATED-DOCSTRING), but it's implemented with a hash table.
<mgl>
The named notes can be referenced and inlcuded in documentation.
<beach>
So why do you want the concatenation to happen again at load time, as opposed to just the population of the hash table?
<mgl>
Hmm? I want the side-effect to happen at load time, not all necessarily all the steps.
<mgl>
Or more precisely, I want that the hash table has the same stuff.
<beach>
That different.
ingeniot has joined #commonlisp
<beach>
It seems you should be able to use LOAD-TIME-VALUE to create a form that populates the hash table.
<beach>
You would then introduce a (PROGN (LOAD-TIME-VALUE ...) ,@BODY) or something like that.
<mgl>
I couldn't see how to make that work because the outermost NOTE is not toplevel.
<beach>
LOAD-TIME-VALUE does not have to be outermost.
<mgl>
OK. I'm beginning to see it. If there is one L-T-V per NOTE, is their evaluation order specified?
<mgl>
Ah, no.
<mgl>
CLHS says it's unspecified.
<mgl>
Well, that makes it inconvenient, but still possible, I think.
<mgl>
Thanks!
attila_lendvai_ has quit [Quit: Leaving]
<beach>
Sure.
eddof13 has quit [Quit: eddof13]
attila_lendvai has joined #commonlisp
eddof13 has joined #commonlisp
treflip`` has quit [Ping timeout: 260 seconds]
Guest4125 has quit [Ping timeout: 276 seconds]
dlowe has joined #commonlisp
bpanthi977 has joined #commonlisp
gorignak has joined #commonlisp
Oddity has quit [Ping timeout: 276 seconds]
zxcvz has joined #commonlisp
bpanthi977 has quit [Ping timeout: 245 seconds]
zxcvz has quit [Client Quit]
luis1 is now known as luis
delvarus has quit [Quit: Leaving]
bpanthi977 has joined #commonlisp
ingeniot has quit [Ping timeout: 240 seconds]
Demosthe1ex is now known as Demosthenex
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 252 seconds]
tr4gic has quit [Ping timeout: 276 seconds]
danza has joined #commonlisp
tr4gic has joined #commonlisp
yitzi has joined #commonlisp
dlowe has quit [Ping timeout: 252 seconds]
King_julian has quit [Read error: Connection reset by peer]
Guest1549 has joined #commonlisp
King_julian has joined #commonlisp
Guest1549 has quit [Client Quit]
rtypo has quit [Quit: WeeChat 4.6.0]
rtypo has joined #commonlisp
NotThatRPG has joined #commonlisp
tr4gic has quit [Read error: Connection reset by peer]