This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 14: alternate comment syntax

2012-10-04 23:48:32
WG1 - Reader Syntax
alexshinn
major
alexshinn
fixed
source
closed
2010-02-23 16:32:14
defect

R6RS provides support for #; nested sexp comments, and #| ... |# nested block comments. Do we include either or both of these?

PLT, Gauche, MIT, Gambit, Chicken, Bigloo, Kawa, SISC, Chez support both #; and #| ... |#.

Chibi supports only #;. (Fix that, willya, Alex?)

Scheme48/scsh, s7, SCM, sxm supports only #| ... |#.

Guile, Scheme 9, sscm, vscm don't support either one.

SCM has an incompatible meaning of #;.

I recommend including support for both #; and #|...|#.

Kawa and s7 don't properly nest #|...|# comments.

For the record, I consciously chose not to support #|...|# in Chibi. I just think it's ugly. But I'm not particularly set on this.

milestone

I'm good with #; I really dislike #| ... |#

I use #; and #||# extensively, and I do think that we should have some way of doing block comments.

For the record, #|...|# and #; are specified by SRFI 30 and SRFI 62 respectively.

resolutionfixed
statusnewclosed

The WG voted to accept both possibilities.

resolutionfixed
statusclosedreopened

To be revoted because there was no simple majority.

resolutionfixed
statusreopenedclosed

Both will be added.

resolutionfixed
statusclosedreopened
owneralexshinn
statusreopenedassigned
statusassigneddecided
owneralexshinn
statusdecidedwriting
resolutionfixed
statuswritingclosed