IRC channel logs

2025-07-22.log

back to list of logs

<omentic>is there a nice string->sexp library? need to convert some text, possibly with newlines, into the associative list it is verbatim
<rlb>omentic: might call-with-input-string and read be adequate?
<omentic>rlb: quite so. thanks!
<rlb>yw
<dsmith>sneek, botsnack
<sneek>:)
<janneke>sneek: seen mwette?
<sneek>mwette was last seen in #guile 2 days ago, saying: Nothing's perfect. +/- either way.
<janneke>sneek: botsnack
<sneek>:)
<mwette>janneke: I saw your request. How about if I write you a `match' that will work there? It should not be difficult for the cases used in cpp.scm.
<janneke>mwette: yes, if we get that to work that would also be fine, of course. possibly even better!
<janneke>ACTION just "found" that mes actually comes with a some match.scm that uses syntax-rules instead of syntax case, which isn't really used because it doesn't really work
<mwette>I'll give it a shot.
<janneke>mwette: thank youn!
<janneke>*you ;)
<mwette>here is a first shot: https://paste.debian.net/1387289/
<mwette>I'll be afk for a bit ...
<mwette>already, line 20 should not be there
<mwette>janneke: This is a bit of a kludge but works with cpp.scm: https://paste.debian.net/1387328/
<mwette>Oh, mes has let-syntax?
<janneke>mwette: great, /me looks
<janneke>yeah, there is let-syntax...but syntax-rules is not 100% complient, it has hygiene problems; so ymmv
<mwette>Ah. Well let me know.