IRC channel logs

2023-02-23.log

back to list of logs

<cow_2001>you can do this! ((syntax-rules () ((f) 0)) '(f)) => #<syntax:unknown file:60:37 0>
<cow_2001>and someone on #scheme says it is not standard behaviour… oh well.
<abcdw>Hey #guile! I have a geiser question: I create a file test.scm with (define-module (tests)) (display "hi") content, open it, start a repl with C-c C-z, go back to buffer and try to compile it with C-c C-k and get: No REPL is running: start it?
<abcdw>However C-c C-b works as expected.
<abcdw>jao: I saw a similiar report https://gitlab.com/emacs-geiser/guile/-/issues/6, but it's quite old and maybe unrelated.
<jao>abcdw, i am leaving now, but if you can reproduce it every time and you can, please do fill a new issue and i'll take a look, or chime in in that one. thanks!
<civodul>ArneBab, mwette: hi! a WIP branch for #lang support sounds like a good idea!
<civodul>it probably won't be in 3.0.x, but we can make it part of the plan for 3.2.x i suppose
<civodul>to discuss with wingo et al!
<wingo>#lang does indeed sound great!!!!!
<lloda>wingo: thx, i'll give it a shot. Looks more hackable than i thought it would be
<lloda>ACTION is terrified of compilers
<lloda>i found that match works in guile by itself but fails in an embedded repl :-\
<wingo>lloda: probably in the embedded repl you reloaded tree-il.scm
<wingo>which re-made the types or something
<wingo>dunno, something like that\
<lloda>hmm i'll look out for that
<mwette>civodul: thanks!
<mwette>ArneBab: thanks for handling it!
<ArneBab>civodul: thank you!
<acdw>#lang support?! like racket?
<acdw>do yall have any idea how to font-lock #!...!# constructs in guile scripts as comments? the multi-line font-lock thing is tripping me up
<drakonis>very nice.
<drakonis>it finally happened, eh?
<lloda>acdw: i use #| |# instead which emacs handles out of the box
<acdw>ooo
<acdw>well how about for the top #!/bin/sh ... stanza?
<acdw>or do you not worry about that
<mwette>acdw: I ran into that problem with #! ... !# and font lock. I solved by using #! .. #| ....... |# !#
<lloda>yeah i don't care about the #! :-|
<mwette>example: https://github.com/mwette/guile-wl-play/blob/main/demo13
<acdw>mwette: ahh well that's smart
<acdw>if #| already works, maybe i can find where that's defined in scheme-mode and tweak it for #!
<acdw>ohhh you add a ton of env variables in that top stanza too, i like that
<mwette>It'd be nice to have dual lang mode also: shell and scheme.
<acdw>oo
<drakonis>that would be beautiful, yes.
<darth-cheney>anyone have experience installing guile on macos?
<darth-cheney>I'm trying to get artanis up and running. I have used homebrew to get guile itself and some of the basic packages installed (some from https://github.com/aconchillo/homebrew-guile)
<mwette>I have installed on macports. The only issue I have had is w/ gnutls. In the past, I had to install gnutls w/o guile, then reinstall w/ guile. Not sure that is an issue anymore.
<darth-cheney>Looks like this is an issue about where homebrew (and M1 macs) stores shared libraries and header files
<darth-cheney>Apparently Apple has borked a lot of stuff by moving things around
<mwette>yep: and gdb doen't work anymore; at least last time I tried
<darth-cheney>ughhhhh
<wingo>meow
<haugh>Howdy wingo, I just want to say thank you for your work. I don't grok 90% of what you write but it enables me to retain autonomy in this baffling industry. I hope one day I can give back in a similar capacity.
<wingo>oh hey tx
<cow_2001>import vs. use-modules. i am confused.
<acdw>use-modules is guile-specific afaik
<old>cow_2001: import is the portable way of using library
<old>use-modules is much better and is guile specific
<acdw>import is r7rs
<acdw>?
<old>not sure but something like that
<cow_2001>why is it much better?
<acdw>i was trying for a long time to write r7rs code but i'm starting to think that really i just need to do guile
<cow_2001>confusion will be my epitaph………
<old>as I crawl, a cracked and broken path
<cow_2001> https://youtu.be/VR3AWdyVVdU
<cow_2001>if you haven't seen this already, this will give you goosebumps
<cow_2001>probably will if you did already, too
<cow_2001>looks like something out of lovecraft's dream cycle
<old>true looks a lot ike lovecraft