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.

Source for wiki BracketsBraces version 7

author

cowan

comment


    

ipnr

127.11.51.1

name

BracketsBraces

readonly

0

text

Here are the ways in which the test suite of Schemes interprets square brackets and curly braces.  Both are undefined in R5RS.  In R6RS, square brackets are synonyms for parentheses, but curly braces are still undefined.

Brackets are:

 * synonyms for parentheses:  Racket, Gauche, Gambit, Chicken, SXM, Spark, Bigloo, Vicare, Larceny, Ypsilon, Mosh, !IronScheme, STklos, KSi, Oaklisp, Sizzle, Guile, SISC, Chez, Elk, Sagittarius

 * lexical syntax errors:  MIT, Scheme48/scsh, NexJ, !SigScheme, Schemik, Owl Lisp, RScheme, Scheme 9

 * vector constructors:  Rep, !FemtoLisp

 * redefinable constructors:  Kawa

 * identifier characters:  SCM, Shoe, !TinyScheme, Dream, S7, XLisp, UMB, VX, Llava, Dfsch, Inlab, Chibi, BDC

Braces are:

 * synonyms for parentheses:  Racket, Gauche, Gambit, Chicken, SXM, Spark

 * lexical syntax errors:  MIT, Scheme48/scsh, NexJ, !SigScheme, Schemik, Owl Lisp, Bigloo, Vicare, Larceny, Ypsilon, Mosh, !IronScheme, STklos, KSi, Oaklisp, Sizzle, Scheme 9

 * user-defined type literals:  Chibi

 * containers for embedded C code: RScheme

 * identifier characters:  SCM, Shoe, !TinyScheme, Dream, S7, XLisp, UMB, VX, Llava, Dfsch, Inlab, Kawa, Rep, !FemtoLisp, Guile, SISC, Chez, Elk, BDC, Sagittarius

Note:  In some Schemes where these are identifier characters, they are self-delimiting: that is: `{abc}` is equivalent to `{ abc }`.

time

2014-12-28 10:12:32

version

7