Ticket #15 (writing defect)

Opened 2 years ago

Last modified 15 months ago

#\foo character names

Reported by: alexshinn Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Reader Syntax Keywords:
Cc:

Description

R6RS greatly extends the list of character names,
as well as allowing #\xNN numeric escapes for characters.
Do we allow any or all of these names?

Change History

comment:1 Changed 2 years ago by cowan

What is extremely odd here is that the lists of names in R5RS 6.3.4 and R6RS 4.2.6 are both introduced by "For example:", so they are not really normative! What is normative is the BNF grammars in R5RS 7.1.1 and R6RS 4.2.1, and neither of them define the term <character name> at all, so evidently implementations can use whatever names they like.

So I tried #\nul #\alarm #\backspace #\tab #\linefeed #\newline #\vtab #\page #\return #\esc #\space #\delete on my usual list of Schemes.

Gambit, Chicken, Bigloo, Kawa, Chez, Ikarus, Larceny, SSCM, and SXM like them all.
PLT doesn't like alarm, esc.
MIT doesn't like alarm, vtab.
SCM and Guile don't like alarm, linefeed, vtab, delete.
Gauche doesn't like alarm, backspace, linefeed, vtab.
VSCM doesn't like nul, linefeed, page, delete.
SISC doesn't like alarm, linefeed, vtab, esc, delete.
s7 doesn't like alarm, backspace, vtab, page, esc, delete.
Chibi doesn't like nul, alarm, backspace, linefeed, vtab, page, esc, delete.
Bigloo, Scheme48/scsh, Scheme 9 don't like nul, alarm, backspace, tab, linefeed, vtab, page, return, esc, delete.

I recommend we require the whole set.

comment:2 Changed 19 months ago by cowan

  • Status changed from new to closed
  • Resolution set to fixed

The WG voted to accept numeric escapes plus a list of character names to be voted on later.

comment:3 Changed 16 months ago by alexshinn

  • Status changed from closed to reopened
  • Resolution fixed deleted

Use the list of names decided in #84.

comment:4 Changed 16 months ago by alexshinn

  • Owner alexshinn deleted
  • Status changed from reopened to assigned

comment:5 Changed 16 months ago by alexshinn

  • Status changed from assigned to decided

comment:6 Changed 15 months ago by alexshinn

  • Owner set to alexshinn
  • Status changed from decided to writing
Note: See TracTickets for help on using tickets.