[Readable-discuss] sweetener demo (also demos sweet-expressions)

2012-07-21 Thread David A. Wheeler
FYI: The reformatter, which I plan to soon rename to "sweetener", is working much better now. Its output also serves as an interesting demo of sweet-expressions. Like any reformatter, it won't necessarily choose the representation a human would choose, but it's often reasonable. I've also bee

[Readable-discuss] Line endings

2012-07-21 Thread David A. Wheeler
Clearly an indentation-sensitive syntax has to reliably detect end-of-line. I think it's important, for users, that the reader reliably work even when you have line endings that aren't the standard for your platform. Especially if standards mandate their support! Below is the current status a

[Readable-discuss] File renames

2012-07-21 Thread David A. Wheeler
I plan to do some file names of some executables & the formatter source; let me know if there are problems or better names: * I plan to rename "iformat.sscm" into "sweetener.sscm". This program takes standard Lisp and reformats into sweet-expressions. I didn't want to call it a pretty-printer

Re: [Readable-discuss] Bundle of git changes

2012-07-21 Thread David A. Wheeler
Alan Manuel Gloria > Okay, here's the public interface: Overall that looks pretty nice. Comments below. > define-module > readable sweet-impl > :export > \\ > . ; tier readers > . curly-infix-read ; :: Port -> Object > . modern-read ; :: Port -> Object > . sweet-read ; :: Port ->