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
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
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
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 ->