For those who want to have Lisp as their interactive shell... I present 
"sweet-scsh".

The development branch has a new "sweet-scsh" command that lets you type in 
sweet-expressions; these are translated to traditional expressions and then 
sent to the Scheme shell (scsh).

Quick demo: Download and install, and run "./sweet-scsh".  Then type in:

run $ head -10 README
define filename "README"
run $ cat ,filename



The "sweet-scsh" program is at its heart trivial, but it works:
  unsweeten | scsh
(I've modified unsweeten to flush on newline, which makes this suddenly easy to 
do.)


======================


I know that some of you wanted to use Common Lisp.  The same trick works with 
clisp:

  ./unsweeten | clisp


defun fact  (n)
  if {n <= 1}
    1
    {n * fact{n - 1}}

fact 40




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