chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Handling unstandard reader macros.


From: Pupeno
Subject: Re: [Chicken-users] Handling unstandard reader macros.
Date: Wed, 23 Nov 2005 23:04:59 -0300
User-agent: KMail/1.8.3

On Wednesday 23 November 2005 03:37, felix winkelmann wrote:
> On 11/23/05, Pupeno <address@hidden> wrote:
> > > Sorry, what kind of procedures are that?
> >
> > The procedure that is set by set-read-syntax![1].
>
> Just return the value that is whatever your reader-procedure
> wants the read datum to be.
It doesn't want it to be anything, I am ignoring any extension, I am only 
looking for includes.

> > [1] In my case:
> >   (set-read-syntax! #\#
>
> ...
>
> Here you are overriding all #... read syntax. You want to use
> `set-dispatch-read-syntax!' instead (which allows you to
> add/redefine #... syntax without stomping over everything
> already available.

Ok, I changed to set-dispatch-read-syntax!, still, I need to implement cases 
for such basic things as characters: #\d.
-- 
Pupeno <address@hidden> (http://pupeno.com)

Attachment: pgpkxRPeRFJz9.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]