libera/#commonlisp - IRC Chatlog
Search
16:46:27
scymtym
beach: thanks. i have a plan at least. i ultimately want to combine the incremental parsing of Second Climacs with the s-expression parsing and environment stuff
17:04:21
jmercouris
beach: nice! That’s cool! Hopefully you won’t cringe too hard when you look at our code :-D
17:24:56
jcowan
I once saw code in which a 100 element array was initialized to 0 with 100 assignment statements. Written by a consultant.
17:35:27
yitzi
Did you ask him where he learned how to do that? I would just die if said he copy-pasted it.
17:50:30
pjb
jcowan: /* (dotimes (i 10) (insert (format "a%d = 0; " i))) */ a0 = 0; a1 = 0; a2 = 0; a3 = 0; a4 = 0; a5 = 0; a6 = 0; a7 = 0; a8 = 0; a9 = 0;
19:05:50
knusbaum
Hi, everyone. I'm playing with implementing a very simple swank server, but I'm having trouble finding good documentation about the various RPC calls.
19:06:10
knusbaum
My current issue is that SLIME seems to call swank:autodoc with a bunch of previous buffer contents including prompts. I'm not sure how to tell emacs that the previous buffer contents should be ignored.
19:07:32
knusbaum
No, Emacs/SLIME is issuing an RPC call I consider "weird", and I assume that's because I'm doing something wrong on the server side.
19:09:54
knusbaum
That could be. From (swank:connection-info) I return :modules ("SWANK-ARGLISTS" "SWANK-REPL" "SWANK-PRESENTATIONS")
19:10:45
phoe
still, regarding all the various rpc calls, I don't know of any good documentation that isn't "ask a person knowledgeable in the topic"
19:10:48
knusbaum
That's why I'm wondering if I need to be sending other requests to the client like (:clear-prompt) or something.
19:11:13
phoe
and the latter would be, I guess, asking luis and/or Joao who is knowledgeable in the ways of slynk/sly
19:13:48
phoe
I guess that, as a last resort, you could try to make a forum post at https://github.com/joaotavora/sly/discussions
19:14:35
phoe
(since that's where joao asked me to point people to if they have any kind of sly questions, and I guess that questions about the rpc protocol are borderline on-topic there)