Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reader option to permit brackets as parentheses



IMHO, the guile reader is far too stupid as it is, so how about the
following compromise: we extend the system with reader macros instead. 

For instance, we could have a reader option 'reader-dispatch-character-alist'
(matching characters with functions) that would enable the reader to
call out to a user defined function when encountering such a
character.

This way Greg could have his fancy parentheses, plus we could get all
sorts of additional bonuses such as CL's #+.

This would not conflict with future standards as such, because if
someone wants to enable [ and ] to work as ( and ), it would be his
own personal decision.


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

Guile Home | Main Index | Thread Index