Opened 7 years ago

Closed 5 years ago

#15 closed defect (fixed)

#\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 (7)

comment:1 Changed 7 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 7 years ago by cowan

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

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

comment:3 Changed 6 years ago by alexshinn

  • Resolution fixed deleted
  • Status changed from closed to reopened

Use the list of names decided in #84.

comment:4 Changed 6 years ago by alexshinn

  • Owner alexshinn deleted
  • Status changed from reopened to assigned

comment:5 Changed 6 years ago by alexshinn

  • Status changed from assigned to decided

comment:6 Changed 6 years ago by alexshinn

  • Owner set to alexshinn
  • Status changed from decided to writing

comment:7 Changed 5 years ago by cowan

  • Resolution set to fixed
  • Status changed from writing to closed
Note: See TracTickets for help on using tickets.