I've updated "sweeten" in the devel branch to produce "prettier" results, and 
have significantly improved the "sweeten" test suite.  I'm thinking about 
releasing a 0.6.1 in a little while so downloaders can get it.  Thoughts?

In particular, if you feed the new sweeten the following:
  (define (factorial n)
   (if (<= n 1)
       1
       (* n (factorial (- n 1)))))

The new sweeten will produce this:
define factorial(n)
  if {n <= 1}
    1
    {n * factorial{n - 1}}

Note that it now uses multi-line form in this case, and will now generate 
factorial{n - 1} instead of factorial({n - 1}).

There are no changes in the semantics of sweet-expressions, etc., so only the 
minor # should change.

--- David A. Wheeler

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to