Posts tagged with "guile"

» Tagged: opinion, programming, scheme, guile

Eschewing An Established Convention Because We Can

Nearly every programming language has some flavor of "structure" declaration, where the programmer can conjure a new type representing the composition of other primitive types or structures, neatly organized into named fields. While the concept is practically universal, the way the programmer defines and interacts with these types can vary dramatically between languages. In Scheme, such structures are called "records". I found that the existing facilities left a lot to be desired, so I wrote a few macros to provide an experience more akin to Common Lisp.

read more →

» Tagged: writeup, programming, lisp, guile, scheme, webdev

Pushing Haunt to Its Limits

When I started writing this article, I didn't mean to do anything more than describe a comment system I'd written in Guile. But as often happens when I write, I soon found myself disregarding that original scope and recording the history of every line of code I've written that's ever been run by a web server. I settled on allowing this to be an article about incorporating dynamic content into a Haunt site – a use-case that Haunt probably wasn't built to support, but which works surprisingly well due to Haunt configurations being ordinary Scheme programs.

read more →