IRC channel logs

2020-04-18.log

back to list of logs

<leoprikler>anadon: invoke is from guix, if you're writing normal guile code, you'll probably be happy with system*
<jcowan>My general impression of sxml is that the design is elegant, the implementation sloppy, and the documentation a disaster.
***hugh_marera_ is now known as hugh_marera
<chrislck>lol
<dsmith-work>The only thing good about sxml is the s. xml just rubs me the wrong way. Proably because of all those pointy sharp <'s and >'s everywhere.
<mwette>I've been working on a cookbook for SXML or at least (sxml xpath). The tools are pretty useful. But I agree, the documentation needs work.
<Aurora_v_kosmose>So, since when do Guile's pipes by default use UTF-8?
<str1ngs>seepel you need to have CFLAGS to find <libguile.h> it easiest to use pkg-config
<mwette>In my nyacc parser generator examples (c, javascript, matlab) I use SXML as the format for the AST output, with sxml-match for pretty printer. Then I can translate to tree-il using (sxml fold). It seems like a clean approach to me.
<mwette>NEWS for Guile 2.2.0 release: String ports default to UTF-8
<mwette>maybe that is related
<Aurora_v_kosmose>Yeah. Thanks.
<Aurora_v_kosmose>One of those things I like about Guile's module system is that you can restrict exports.
<chrislck>Aurora_v_kosmose: but you can always dig them out with (@@ (module-name) private-var)
<Aurora_v_kosmose>Huh. Interesting. I didn't know that was a thing, but I find it useful mostly for avoiding accidental name collisions.
***apteryx_ is now known as apteryx
<rlb>OK, finally have 3.0.2 in debian and "settled" such that it should be able to propagate to testing (hadn't noticed some issues that had prevented propagation of 3.0 in general up to now).
<Aurora_v_kosmose>Guile has some fairly nice performance.
<Aurora_v_kosmose>I converted an old Python script of mine, and the Guile result is about two magnitudes faster & 2/3 as long.
<civodul>hello!
<civodul>does anyone know of a D-Bus implementation for Guile?
<civodul>or bindings?
<mwette>I have only demo program in nyacc. examples/ffi/epoll.ffi + examples/ffi/dbus.ffi + examples/system/dbus.scm + examples/nyacc/lang/ffi-help/dbus-0?.scm
<civodul>oh nice!
<civodul>i should give it a try
<civodul>a good opportunity to play with nyacc
<civodul>:-)
<mwette>you can just go into examples and do ... https://paste.debian.net/1141208/
<kristofer>hello! I've been working on a project with the awesome haunt static site generator! I'm curious, how do haunt users connect geiser to 'haunt serve -w' - or is that even realistic?
<mwette>civodul: I was walking through system/dbus.scm and noticed (use-modules (sched)) -- that should be commented out
<civodul>noted, thanks!