ch>ascii-escape ( ch -- ch' ? )


Vocabulary
prettyprint.backend

Inputs
cha character


Outputs
ch'a character
?a boolean


Word description
Converts a character to an escape code.

Definition


: ch>ascii-escape ( ch -- ch' ? )
H{
{ 0 48 }
{ 34 34 }
{ 7 97 }
{ 8 98 }
{ 9 116 }
{ 10 110 }
{ 11 118 }
{ 12 102 }
{ 13 114 }
{ 27 101 }
{ 92 92 }
} ?at ; inline