An identifier is a sequence of characters such as value and
sum. In KSM-Scheme, a character represents a Unicode code and an
identifier can be any combination of Unicode characters if following
conditions are satisfied. 1) It does not begin with (, ),
', `, ,, ", [, ], |,
#, ;, or :. 2) It does not include whitespaces,
(, ), and ;. Finally, 3) it cannot be interpreted
as a number.
Here are some examples of identifiers:
lambda list->vector + <=? the-word-recusrion-has-many-meanings q soup V17a a34kTMNs
And these are not identifiers:
(123) ;; starting with `('
"abc" ;; starting with `"'
123 ;; it's a number
+3.21 ;; it's a number
-.123 ;; it's a number
KSM-Scheme is case-sensitive in contrast to the Scheme Standard. Therefore, following identifiers represent distinct objects.
Identifier identifier IDENTIFIER
This decision was made to make KSM-Scheme easily interface with C functions.
Go to the first, previous, next, last section, table of contents.