Hi Zelphir! You should check out SRFI 166 or 159. It has columnar printing built in. I ported it to guile and one implementation is available in guix (under a non-standard module name iirc).
https://srfi.schemers.org/srfi-166/srfi-166.html#Columnar-Formatting -- Linus Björnstam On Mon, 17 Feb 2020, at 01:10, Zelphir Kaltstahl wrote: > Hi Guile Users! > > Guile is my go to programming language for my free time projects : ) > While it's sometimes not as easy to find answers for problems as in some > other programming languages, usually it is worth the research, as I come > out more knowledgeable on the other side. The documentation is usually > great and people are creating great projects and software in Guile. > Happy to be part of the community! > > Some time ago and this weekend I have been working on a thing that > prints grids: > > https://notabug.org/ZelphirKaltstahl/guile-grid-printer/src/0.1.0 > > Basically prints lists as grids in on command line or to string and > allows for configuration of the printed grid, such as padding or which > characters shall be used for representing borders or intersections in > the grid. Personally I think this could be useful for example for > printing a chess board or similar things in pure text form. In the test > cases, there is also an example of printing a grid containing a grid. > > It's only one of many projects I try to work on, but since it is not as > complex as the others, it at least is already usable, while most of my > other projects are in the unfinished non-usable state. > > Thanks everyone for participating in the Guile community and for sharing > knowledge or providing learning resources! > > Zelphir > > On 16.02.20 15:56, Ludovic Courtès wrote: > > Hello Guilers! > > > > Today, it’s been 9 years since Guile 2.0 came out! > > > > https://lists.gnu.org/archive/html/guile-devel/2011-02/msg00173.html > > > > It’s impressive how much has been accomplished since 2.0, and how what > > seemed like a pipe dream back then came into reality with 3.0. I think > > Guile 2.0 started a renaissance of Guile, and it’s in bloom now. :-) > > > > We used to have a “Guile potluck” for the anniversary, where people > > would bring their own hacks and virtually join for a party. We missed > > it this year, but if there’s a nice hack that you’d like to share, now > > is a good time! > > > > Happy hacking with Guile! > > > > Ludo’. > >
