guile-devel
[Top][All Lists]
Advanced

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

Re: Needed: per-port reader options


From: Ludovic Courtès
Subject: Re: Needed: per-port reader options
Date: Sun, 21 Oct 2012 23:40:56 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Mark H Weaver <address@hidden> skribis:

> Section 2.1 of the R7RS (draft 6) explicitly says "The #!fold-case
> directive causes the read procedure to case-fold [...] each identifier
> and character name subsequently read from the same port."

OK, this is more precise than SRFI-105, and definitely per-port (the
semantics are not quite to my taste, but well...)

Then the weak hash table mapping ports to reader options seems like the
“right” approach, to implement these semantics.

Ludo’.



reply via email to

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