You are looking at historical revision 34685 of this page. It may differ significantly from its current revision.
Extensions to the standard
Identifiers
Identifiers may contain special characters if delimited with | ... |.
Brackets and braces
The brackets [ ... ] and the braces { ... } are provided as an alternative syntax for ( ... ). A number of reader extensions is provided. See Non-standard read syntax.
Non-standard macros
Numerous non-standard macros are provided. See Non-standard macros and special forms for more information.
Non-standard procedures
CHICKEN provides numerous non-standard procedures. See the manual sections on library units for more information.
User defined character names
User defined character names are supported. See char-name. Characters can be given in hexadecimal notation using the #\xXX syntax where XX specifies the character code. Character codes above 255 are supported and can be read (and are written) using the #\uXXXX and #\UXXXXXXXX notations.
Non-standard characters names supported are #\tab, #\linefeed, #\return, #\alarm, #\vtab, #\nul, #\page, #\esc, #\delete and #\backspace.
Special characters in strings
CHICKEN supports special characters preceded with a backslash \ in quoted string constants. \n denotes the newline-character, \r carriage return, \b backspace, \t TAB, \v vertical TAB, \a alarm, \f formfeed, \xXX a character with the code XX in hex and \uXXXX (and \UXXXXXXXX) a unicode character with the code XXXX. The latter is encoded in UTF-8 format.
The third argument to substring is optional and defaults to the length of the string.
exit
The exit procedure exits a program right away and does not invoke pending dynamic-wind thunks.
Previous: Deviations from the standard
Next: Non-standard read syntax