-
Notifications
You must be signed in to change notification settings - Fork 0
Case Folding
Silvio Mayolo edited this page Jul 31, 2017
·
2 revisions
ShinyLisp bases its substitution rules on the capitalization, or case, of characters. As some characters are treated as special, it is necessary to define a few roundabout rules for capitalization. In the common cases, the rules will follow intuition, so the capital form of any alphabetical letter is the corresponding capital letter. However, some other symbols have capital forms which can be unexpected. They are all listed here for convenience.
- Each alphabetic character maps to its uppercase form.
- The characters on the number line alternate between lower and upper forms (so
!
is lowercase of@
,#
is lowercase of$
, etc.). - Unless the SHIFT variant of a key is a special character, the capital form is often simply the same key with SHIFT pressed (so
,
is lowercase of<
,-
is lowercase of_
, etc.). -
|
is the capital of`
, and>
is the capital of;
- Any character outside the ASCII character set follows the Unicode capitalization rules
This is a table for all of the ASCII characters which have capital equivalents. Remember that for characters outside of the ASCII character set, the usual Unicode rules apply for capitalization.
Lower | Upper |
---|---|
a | A |
b | B |
c | C |
d | D |
e | E |
f | F |
g | G |
h | H |
i | I |
j | J |
k | K |
l | L |
m | M |
n | N |
o | O |
p | P |
q | Q |
r | R |
s | S |
t | T |
u | U |
v | V |
w | W |
x | X |
y | Y |
z | Z |
! | @ |
# | $ |
% | ^ |
& | * |
, | < |
- | _ |
= | + |
/ | ? |
` | | |
; | > |