In article <····························@posting.google.com>,
·······@klax.tula.ru (Vasily Malahin) wrote:
> How can i define read-macros ~ as ; and record it to read table?
Chapter 21.1.5 "The Readtable" of CLtL2 contains several examples for
read macros, including one for ;. See
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl
/cltl2.html
Pascal
Pascal Costanza wrote:
> In article <····························@posting.google.com>,
> ·······@klax.tula.ru (Vasily Malahin) wrote:
>
>> How can i define read-macros ~ as ; and record it to read table?
I think you want SET-SYNTAX-FROM-CHAR, as in:
(set-syntax-from-char #\~ #\;)
> Chapter 21.1.5 "The Readtable" of CLtL2 contains several examples for
> read macros, including one for ;.
That's 22.1.5, I think.
Jeremy.
In article <··············@ID-114079.news.dfncis.de>,
Jeremy Yallop <······@jdyallop.freeserve.co.uk> wrote:
> > Chapter 21.1.5 "The Readtable" of CLtL2 contains several examples for
> > read macros, including one for ;.
>
> That's 22.1.5, I think.
>
Yes, you're right - sorry for the typo.
Pascal