IRC channel logs

2020-09-22.log

back to list of logs

<alextee[m]>is guile lib finally working in msys2 yet?
<alextee[m]>someone's asking for zrythm scripting support on windows but i build my packages using whatever msys has. iirc guile lib was broken so i had to disable it
<alextee[m]>hmm dont remember when was the last time i tried, this was updated in april: https://packages.msys2.org/package/libguile-devel?repo=msys&variant=x86_64
<alextee[m]>seems to contain a lib, gonna try this i guess
<janneke>alextee[m]: i don't know about msys but i would be surprised; guix could/can build guile-2.0.13 for mingw
<alextee[m]>janneke: i think i need 2.2 or above
<janneke>alextee[m]: there is a whole bunch of patches on 2.2.3 -- https://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-mingw-guile-2.2
<janneke>additional patches for 64bit here, still 2.2.3 => https://gitlab.com/janneke/guile/-/tree/wip-mingw-guile-2.2
<alextee[m]>janneke: thanks!
*alextee[m] boots up the VM to try stuff
<janneke>(see also guile-devel)
<alextee[m]>getting this with msys' version:
*alextee[m] uploaded an image: Screenshot from 2020-09-22 06-27-26.png (117KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/HFvMskxacvaqYUKszyjvYBpx/Screenshot from 2020-09-22 06-27-26.png >
<alextee[m]>gonna look for a relevant patch
<janneke>alextee[m]: no idea, i only do cross builds from guix
<alextee[m]>janneke: are there any precompiled libs somewhere?
<alextee[m]>i only need the .dll, the link-time .dll (i guess .dll.a?) and the headers, and maybe a pkgconfig file
<alextee[m]>i wish i could cross build but cross-building gtk is complicated.. i tried using cerbero and managed to cross-build most dependencies but im stuck on gtk/gdk-pixbuf (also librsvg needing a rust compiler is a big blocker)
<RhodiumToad>windows link time files for dlls are .lib
<alextee[m]>i think most of them in msys are .dll.a
*alextee[m] uploaded an image: Screenshot from 2020-09-22 06-36-36.png (120KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XwxmbZjLbxFNZyDwryHpYjaD/Screenshot from 2020-09-22 06-36-36.png >
<alextee[m]>i think it uses .a for static libs like on gnu and .dll.a for shared libs
<alextee[m]>then there's separate .dll's in the bin dir for distribution
<janneke>no, i don't know -- oh my librsvg -- that sounds problematic
<tohoyn>sneek, botsnack
<sneek>:)
***d4ryus2 is now known as d4ryus
***karlosz_ is now known as karlosz
<matijja>Does (ice-9 regex) supports look ahead/behind?
<leoprikler>I don't think so, but (ice-9 peg) may have what you're looking for
***gagbo__ is now known as gagbo
<dsmith-work>{appropriate time} Greetings, Guilers
<ane>I was building a guile program a while back and decided to put together some sort of a template for one https://github.com/ane/guile-example-program/
<ane>I hope people will find it useful! bits of it are from wherever (various projects), I managed to track a few origins for some of the m4 stuff, but the rest is pretty much anyone's guess ... this brings me to the license issue, does GPL make sense for such a template project?
<dsmith-work>Martin Grabmueller (sp?) did something like that a long time ago. A template for a guile project. I think it's gone missing..
<ane>I was also thinking about building a guile template project for a (large) C application embedding Guile
<dsmith-work>It's a great idea.
<ane>I actually got ctags working so that it had tags for the guile library, so you could jump to the Guile C API definitions in e.g. emacs
<dsmith-work>Seems like lots of other langs are doing things like that. (cargo init/new)
<ane>and, getopt basics for doing a --repl=[37146] or something like on the command line
<stis>hi guilers!
<stis>3.0.4 is speedy.
<thchr>I need to read a large CSV file of floats (~1 million rows) in Guile: are there any recommendable packages that would do this job?
<thchr>I can see there's https://docs.racket-lang.org/csv-reading/index.html for Racket - but I guess that won't help me for Guile, per se?
<thchr>Ah, this seems to be a good starting point: https://github.com/artyom-poptsov/guile-dsv
<catonano>thchr: there's also https://github.com/NalaGinrut/guile-csv/blob/master/csv/csv.scm
<thchr>Do you know what the parsed structure is like? I.e. are rows stored as elements of a list?
<jlicht>Can ice-9's match match an improper (dotted) list? I keep running into the fact that a normal list is actually '(1 . ( 2 . ( 3 . ()))), which in my case I'd rather not match.
<RhodiumToad>you mean you want it to match only if the last cdr is an atom?
<RhodiumToad>(and (x . y) (not (? list?)))