From: Jeff
Subject: Re: Creating my own read table
Date: 
Message-ID: <cf8lcl$k9u@odak26.prod.google.com>
Hannah Schroeter wrote:

> (let ((*readtable* (copy-readtable)))
>   ; modify it
>   (read))
>
> Just love the magic of special variables sometimes.

That much I got myself. What I'm wondering is how to do the modifying
of the readtable. While there are plenty of SET-*-MACRO-CHARACTER
functions, I haven't been able to find any DELETE-*-MACRO-CHARACTER
functions. So how can I go about modifying the readtable.
Thanks for the reply, though :)

Jeff

From: Peter Seibel
Subject: Re: Creating my own read table
Date: 
Message-ID: <m3hdrct2zk.fsf@javamonkey.com>
"Jeff" <···@insightbb.com> writes:

> Hannah Schroeter wrote:
>
>> (let ((*readtable* (copy-readtable)))
>>   ; modify it
>>   (read))
>>
>> Just love the magic of special variables sometimes.
>
> That much I got myself. What I'm wondering is how to do the modifying
> of the readtable. While there are plenty of SET-*-MACRO-CHARACTER
> functions, I haven't been able to find any DELETE-*-MACRO-CHARACTER

Check out SET-SYNTAX-FROM-CHAR.

-Peter

-- 
Peter Seibel                                      ·····@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp
From: Jeff
Subject: Re: Creating my own read table
Date: 
Message-ID: <_SURc.277950$XM6.108537@attbi_s53>
Peter Seibel wrote:

> Check out SET-SYNTAX-FROM-CHAR.
> 
> -Peter

Thanks! That's exactly what I needed. Thanks for the other reply as
well ;)

Jeff
From: Pascal Bourguignon
Subject: Re: Creating my own read table
Date: 
Message-ID: <87y8koj69p.fsf@thalassa.informatimago.com>
"Jeff" <···@insightbb.com> writes:

> Hannah Schroeter wrote:
> 
> > (let ((*readtable* (copy-readtable)))
> >   ; modify it
> >   (read))
> >
> > Just love the magic of special variables sometimes.
> 
> That much I got myself. What I'm wondering is how to do the modifying
> of the readtable. While there are plenty of SET-*-MACRO-CHARACTER
> functions, I haven't been able to find any DELETE-*-MACRO-CHARACTER
> functions. So how can I go about modifying the readtable.
> Thanks for the reply, though :)

If a character must be no more a macro character, just set NIL as a
macro character function for it.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.