I've done some fiddling on the Common Lisp side.

The Common Lisp file "curly-infix.cl" now contains more than just curly-infix; 
it now implements neoteric-expressions.  So it really needs renaming.

I suggest calling it "readable.cl", to make it more similar to the Scheme 
system.  I'm not sure if the filename extension should be ".lisp" or ".cl".  
The ".lisp" extension is silly (there are other lisps!), and is 4 characters 
(which isn't as portable, e.g., on CDs, though that's less a problem than it 
used to be).

Common Lisp doesn't let you rename basic functions like read, and its readtable 
really isn't flexible enough to handle stuff beyond curly-infix (though 
curly-infix was easy).  So I've worked out a trick.  (enable-neoteric) 
re-implements the REPL but using neoteric-read instead of read, and when you 
leave, it exits the entire Lisp system.  It's not a perfect simulation, but 
it's convincing enough.  I plan to auto-enable curly-infix on load, though; 
there's little to do otherwise, and it gives users a reason to use it right 
away.

In the long term, it'd be good if it was all set up to load via Quicklisp 
(which loads from the Internet) and the build/packaging system asdf. According 
to: http://xach.livejournal.com/278047.html the asdf system auto-loads from 
"~/.local/share/common-lisp/source/" - and I suspect it also loads from 
PREFIX/share/common-lisp/source too, so if "make install" put the Common Lisp 
source file there, it might "just work" for Common Lisp users.

Thoughts?

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