ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.21k stars 142 forks source link

Handle basic special characters in `write` #939

Closed raviqqe closed 11 months ago

raviqqe commented 11 months ago

This PR fixes the implementation of write in SRFI 38 with special characters (e.g. newline and tab) as described in the section "6.13.3. Output" in the R7RS.

raviqqe commented 11 months ago

Ah, it looks like it's not necessary to escape them with their names but we can put any character after #\. I'm gonna just close this.

ashinn commented 11 months ago

We should write the descriptive names. We can either use this list or punt to the underlying write like we do for numbers.