Opened 4 weeks ago

#1720 new defect

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

Reported by: Duy Nguyen Owned by:
Priority: major Milestone: someday
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 (0)

Note: See TracTickets for help on using tickets.