IRC channel logs

2014-12-22.log

back to list of logs

<nalaginrut>morning guilers~
<slucx>morning
<cky>tadni_: stable-2.0 is for 2.0 stuff. 2.2 stuff is in master. :-)
<cky>I'm not brave enough to attempt 2.2 stuff yet.
<nalaginrut>cky: don't be afraid, it works fine
<nalaginrut>but guile.m4 seems haven't updated
<nalaginrut>so I can't configure with 2.2 correctly
*nalaginrut tried master almost this whole year
<linas>So I was explaining guile to somebody, and they wrote back:
<linas>The English word guile is a homophone with the German word geil, which means horny or sexy. This is a very popular German word in the past decade or so.
<linas>maybe a new ad campaign is in order
<linas>p.s. cky: guile-2.2 works great (so far) for me
<nalaginrut>linas: nice to know it ;-P
***petercommand is now known as Guest52641
<cky>linas: I'm down with renaming Guile to Geil, in that case. ;-)
<nalaginrut>well, I pronounce Guile as Geil, always, but seems it's Gil?
<nalaginrut>I mean Geil in German
*nalaginrut don't know the official pronunciation...
***slucx is now known as slucfly
***slucfly is now known as slucx-is-afk
***Guest52641 is now known as petercommand
<rekado>I'd like to write unit tests for a syntax transformer. How can I compare a macro with the expected expansion?
<rekado>Is there something like ,expand in the REPL that I could use to compare the produced s-expression in my code?
<wleslie>(macroexpand '(foo bar))
<wleslie>local variables will be renamed so you may have to do more than eqv
<rekado>wleslie: hmm, macroexpand returns a struct: #<struct:925ec78 pwpwpwpwpw 94f85a0>
<rekado>can I turn this into a regular list?
<rekado>(macroexpand does not seem to be documented in the Guile manual)
<wleslie>eep. debian stable => very old guile.
<nalaginrut>well, it'd be tree-il now, when you expand it
<nalaginrut>so you may decompile it from tree-il to scheme
<nalaginrut>that's the principle of ,exp in REPL
<nalaginrut>(define (exp e) (decompile (macroexpand e) #:from 'tree-il #:to 'scheme))
*nalaginrut think it's not elegant...
<rekado>nalaginrut: what module contains "decompile"? I cannot find it in the manual.
<nalaginrut>(system base compile)
<rekado>thanks
<nalaginrut>it's too low-level, so please wrap it
<rekado>this is a very round-about approach to what I'm actually trying to do.
<rekado>Maybe I should only test the effects of evaluating the syntax.
<rekado>...and trust that the transformer behaves correctly.
<nalaginrut>please say a word if it works ;-)
<rekado>using "decompile" works in that I get a scheme s-exp back, but I think it's a little too messy for a test suite.
<nalaginrut>yes, I guess it works as expected before, but it become struct/tree-il when compiler-tower is done
<nalaginrut>return a tree-il is illogical, so as struct
<nalaginrut>dunno...
<rekado>so, should I file a bug report about this?
<nalaginrut>I don't know, but it won't hurt if you try ;-)
<ArneBab>why are there still discussions about renaming well-known programs? Burning your brand usually is the worst thing you can do.
<nalaginrut>ArneBab: is it related to macroexpand I discussed? ;-)
<ArneBab>nalaginrut: yes - I thought it had been about renaming Guile (maybe I was to quick to misunderstand because last week I had seen discussions about renaming Guix to GNUdist)
<nalaginrut>ArneBab: well, but its activity has been changed, since it return struct before, but tree-il for now
<nalaginrut>and the name is confusing
<nalaginrut>but I didn't recommend anything
<nalaginrut>ok, I recommended sending a mail for asking ;-P
<ArneBab>
<ArneBab>nalaginrut: I think I misunderstood you earlier - no, it wasn’t related to macroexpand. Sorry for that…
<nalaginrut>ArneBab: btw, how can I use "/hello/:who" in orgmode, without italic
<nalaginrut>I mean escape /
<ArneBab>I think =/=hello=/=:who should work, but that’s not elegant. Likely just \\/hello\\/:who
<nalaginrut>hmm...seems not for both
<nalaginrut>ArneBab: alright, it's done, =/hello/:who=
<ArneBab>ah, yes: Mark the whole snippet as code.
<dsmith-work>Monday Greetings, Guilers
<dsmith-work>nalaginrut: guile sounds like dial (english)
<dsmith-work>mostly sounds like
<nalaginrut>dsmith-work: oh...seems this question is not simple, and more complex now... ;-D
<dsmith-work>nalaginrut: OR more like "smile"
<dsmith-work>;^)
<nalaginrut>hah
***cluck` is now known as cluck
<paroneayea>hey all
<paroneayea>I've been occasionally opening up Hy to play with it and doing the "run a game and connect to the cooperative repl via geiser-connect"
<paroneayea>but my "* Guile REPL *" buffer gets filled with stuff like
<paroneayea>Unknown meta command: geiser-no-values
<paroneayea>which blocks the repl since it jumps into error-mode
<paroneayea>ugh
<paroneayea>Sly not Hy
<paroneayea>I keep doing that :)
<davexunit>paroneayea: are you using the latest geiser now?
<davexunit>I've never seen that error
<paroneayea>haha, I run geiser-version
<paroneayea>and I get @PACKAGE_STRING*
<paroneayea>something is wrong there ;)
<davexunit>oof
<davexunit>yeah, sounds like your geiser is borked
<daviid>mark_weaver: here is an attempt to achieve what I want, but it does not work [yet], do you have any idea/hint for me? [the following is a code extract only, *grid* is bound to a <clus-grid> instance]: http://paste.lisp.org/+33S1
<daviid>[ in this paste, dimfi is like [a perso] pk ]
<daviid>have to run, bbl