Okay,  I have sweet-expressions working as a shell scripting language.  I did 
this by modifying "unsweeten" so that a leading ";#" and ";!" are generated 
without the semicolon.

To try it out, just install scsh (Scheme Shell).  Here's a simple "demo.sscm" 
file:

=========================================
;#!scsh -s
;!#

run cat("README")
=========================================

Process this with:
  ./unsweeten < demo.sscm > demo
  chmod a+x demo
(This begs to be set in a makefile)

Run doing:
  ./demo

It's not Common Lisp, but it is certainly a Lisp.

--- David A. Wheeler

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to