chicken-janitors
[Top][All Lists]
Advanced

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

#1720: r7rs "write" procedure does not escape "invalid" symbols


From: Chicken Trac
Subject: #1720: r7rs "write" procedure does not escape "invalid" symbols
Date: Sun, 30 Aug 2020 10:04:34 -0000

#1720: r7rs "write" procedure does not escape "invalid" symbols
-----------------------------------+---------------------
            Reporter:  Duy Nguyen  |       Type:  defect
              Status:  new         |   Priority:  major
           Milestone:  someday     |  Component:  unknown
             Version:  5.2.0       |   Keywords:
Estimated difficulty:              |
-----------------------------------+---------------------
 r7rs defines an alternative way to present a symbol that's otherwise
 invalid identifiers, by putting it inside `||`. This is implementation-
 specific in r5rs.

 The problem can be seen with `(write (features))` where 64bit is not
 escaped (i.e. |64bit|) while it is for all the r7rs schemes I have my
 hands on.

 This is not a problem when within chicken because both the reader and
 writer are in sync. I found this out because I updated chibi-snow to read
 `(features)` from chicken. Chibi does not like '64bit' symbol without
 ecaping.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1720>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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