SLip icon indicating copy to clipboard operation
SLip copied to clipboard

Support some of the "readable" notations?

Open david-a-wheeler opened this issue 11 years ago • 0 comments

Have you considered supporting at least one tier of the 'readable' notations? You can get it via QuickLisp (ql:quickload "readable") ; the home page is: http://readable.sourceforge.net.

The first tier extends the Lisp reader to add an abbreviation for infix, just like 'x abbreviates (quote x). In short, {a op b op c ....} maps to (op a b c ...). Because it's in the reader, you can use this in macros, quasiquoting, and so on.

I'd be willing to help. It involves some small additions, but they're small. Basically, the reader just reads "{...}" like a list, and then does a small amount of processing. Very few lines of code. It's already in GNU guile, as well as being available via QuickLisp for any Common Lisp.

david-a-wheeler avatar Nov 01 '14 17:11 david-a-wheeler