This page is part of the web mail archives of SRFI 110 from before July 7th, 2015. The new archives for SRFI 110 contain all messages, not just those from before July 7th, 2015.
I intend over the next week or so to post some "code sample" pairs. Each pair will be some existing Scheme code, along with the same code using sweet-expressions. The whole goal of this SRFI is to create a notation with improved readability. Readability is in the end a human decision, so we'll never get universal agreement, but we can at least present examples (as code sample pairs) and determine if many people find them more readable. It'll also give evidence (I hope!) that the notation is general enough to handle "real code" well. Others are welcome to post code sample pairs. I intend to collect them in the "readable" git repository; we could also include them as links in the SRFI if people think that's a good idea. My process will be pretty simple; I'll just find some Scheme code, run it through "sweeten", and then hand-tweak the results for maximum readability. I'll force the first indent character (if any) to be "!" so that the results will look okay on mail transports that screw up leading spaces. --- David A. Wheeler