IRC channel logs

2020-10-18.log

back to list of logs

***catonano_ is now known as catonano
***wleslie is now known as KineticUser-1729
***KineticUser-1729 is now known as wleslie
***Guest8111 is now known as tamarindo
<manumanumanu>I just got a prototype for my foof-loop derived looping system working (at least for the simple case where there are no subloops), but that should just be a long-and-tedious syntax-rules session away!
<emys>is there a way to expand an s-expr with a given set of macros? I.e. its not Scheme code, just s-expressions and I think macros might be an nice way how to transform them.
<mwette>emys: look at module (ice-9 match) -- it's covered in the manual as well: https://www.gnu.org/software/guile/manual/guile.html#sxml_002dmatch
<leoprikler>emys: use an otherwise empty environment (you can spawn that with null-environment), define your syntax and then call macroexpand ;)
<mwette>oops wrong one: https://www.gnu.org/software/guile/manual/guile.html#Pattern-Matching
<mwette>look at the procedure repl-expand in share/guile/3.0/system/repl/common.scm, which implements; then use your own env to pass to compile
<apteryx>is it a common convention to use ? at the end of the name of a boolean variable? I know that's true for predicate, but wasn't sure anymore about boolean vars.
<rekado>apteryx: that’s what I do.
<rekado>especially for procedure arguments
<libfud>it makes sense to me at least
<libfud>what is the convention for using *?
<emys>is there a way not to truncate stack-traces in guile?
<emys>like I get 619:8 5 (_ #(#(#(#(#(#(#(#(#(#<directo�>) �) �) �) �) �) �) �) �)) and I wouldn't mind this to be a bit longer tbh
<civodul>emys: you can set the COLUMNS environment variable to something wider
<civodul>like COLUMNS=200
<civodul>thought of the day: we should give the stexi modules some love so we can do away with "makeinfo --html"
<rekado>civodul: I had the same thought when I read the discussion about maybe using (X)HTML for Info in the future.
<civodul>that discussion is misguided IMO in addition to happening behind closed doors
<civodul>clearly Scribble is our horizon here, for Guile, Guix, etc.
<civodul>at least the rendering and tight integration it provides are enviable
<ane>what does the snarfing process do when building guile? is it extracting the docstrings for guile-procedures.txt? what is that file used for, is it for the (procedure-documentation) stuff?