Opened 4 years ago

Closed 6 months ago

#1720 closed defect (fixed)

r7rs "write" procedure does not escape "invalid" symbols

Reported by: Duy Nguyen Owned by:
Priority: major Milestone: 6.0.0
Component: unknown Version: 5.2.0
Keywords: Cc:
Estimated difficulty:

Description

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.

Change History (2)

comment:1 Changed 6 months ago by felix winkelmann

Milestone: someday6.0.0

comment:2 Changed 6 months ago by felix winkelmann

Resolution: fixed
Status: newclosed

Will be fixed in forthcoming CHICKEN 6

Note: See TracTickets for help on using tickets.