[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Here's an early draft of the sweet-expression SRFI

SRFI-105 (curly-infix) mentions another notation, "sweet-expressions".  Sweet-expressions build on top of SRFI-105 (curly-infix), adding (1) indentation processing, and (2) neoteric-expression support *outside* of curly braces.  Here's an example of sweet-expressions:
define factorial(n)
! if {n <= 1}
!   1
!   {n * factorial{n - 1}}

You can see the current early draft of the sweet-expression SRFI here:

If you're interested in helping to get it ready for a SRFI submission, please join us in the readable-discuss mailing list:

 --- David A. Wheeler