We now have mostly-working Common Lisp implementations of curly-infix, 
neoteric, and sweet-expressions.  The whole thing is in a "readable" library.  
The key holdup was getting backquote and the various comma expressions are 
working.

So this, and many other things, work in the sweet-expression implementation for 
Common Lisp:
defun fact (n)
! if {n <= 1}
!   1
!   {n * fact{n - 1}}
fact 5

There are a number of little points to work out; I've tried to identify all the 
ones left with "TODO" in the code.   It's mainly handling weird cases, e.g., # 
followed by certain letters, or EOF handling in odd places.  It also needs a 
proper test suite, and a little more work on the packaging.

I suspect we should have a *separate* tutorial for Common Lisp, because most 
people will probably start with just Scheme or just Common Lisp.  Anyone 
disagree?

--- David A. Wheeler

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to