Alpheus Madsen: > This is actually a major reason I'm interested in Sweet-Expressions, myself. I'd like to use some form of Common Lisp as a shell, and it would be kindof awkward to have to use parentheses for everything.
If you want to write *scripts* using a Lisp-like language, scsh might be useful to you (http://www.scsh.net/). It's a Scheme for also easily invoking programs, doing redirections, etc. E.G., it has a "process form". Scsh isn't really for interactive use, so it might not be what you're looking for, but maybe it is. It'd allow quick experimentation, anyway!! It still uses traditional s-expression notation, of course, but... I think it'd be trivial to combine scsh and our current "unsweeten" program for writing scripts. Just write in sweet-expressions, use unsweeten, and send to scsh. The only "problem" is that you really need to have "#!..." on the first line, which is a block comment sequence that ends with !#. Guile has that too, same semantics even. It sounds like it'd be a good idea to support #!...!# comments somehow, as that'd solve the problem (though I'm not sure how to "return" block comments). Or we could interpret some comments specially to do the same thing, e.g., comments beginning with ";#!" and ";#!" could be output without the leading ";". Then you could write shell scripts in a Lisp-like language, using some existing tools. --- 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