Next: Datum labels, Previous: Whitespace and comments, Up: Lexical conventions [Index]
For a description of the notations used for numbers, see Numbers.
. + -These are used in numbers, and can also occur anywhere in an identifier. A delimited plus or minus sign by itself is also an identifier. A delimited period (not occurring within a number or identifier) is used in the notation for pairs (Pairs and lists), and to indicate a rest-parameter in a formal parameter list (Procedures). Note that a sequence of two or more periods is an identifier.
( )Parentheses are used for grouping and to notate lists (Pairs and lists).
'The apostrophe (single quote) character is used to indicate literal data (Literal expressions).
`The grave accent (backquote) character is used to indicate partly constant data (Quasiquotation).
, ,@The character comma and the sequence comma at-sign are used in conjunction with quasiquotation (Quasiquotation).
"The quotation mark character is used to delimit strings (Strings).
\Backslash is used in the syntax for character constants (Characters) and as an escape character within string constants (Strings) and identifiers (Lexical structure).
[ ] { }Left and right square and curly brackets (braces) are reserved for possible future extensions to the language.
#The number sign is used for a variety of purposes depending on the character that immediately follows it:
#t #fThese are the boolean constants (Booleans), along with the
alternatives #true and #false.
#\This introduces a character constant (Characters).
#(This introduces a vector constant (Vectors). Vector constants are
terminated by ).
#u8(This introduces a bytevector constant (Bytevectors). Bytevector
constants are terminated by ) .
#e #i #b #o #d #xThese are used in the notation for numbers (Syntax of numerical constants).
#⟨n⟩= #⟨n⟩#These are used for labeling and referencing other literal data (Datum labels).
Next: Datum labels, Previous: Whitespace and comments, Up: Lexical conventions [Index]