>
> That said, we have a Scheme implementation; it's likely to be
> not-so-difficult to transliterate that into Common Lisp. Would you be
> interested?
>
Yes, I would be. I've tried my hand at writing an alternative reader in
the past, but it's been several months since I've worked on it. One of the
things I've wondered is how to replace the default Common Lisp reader with
my own.
I've also written hash-table pseudocode for bracket notation; it's a lot
nicer than Common Lisp's default hash-table syntax! (I haven't gotten to
the position, yet, where I would feel comfortable writing a "bracketaccess"
macro.)
On Fri, Jul 27, 2012 at 5:49 AM, David A. Wheeler <dwhee...@dwheeler.com>wrote:
> 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