A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
9
Task/Character-codes/Lang5/character-codes.lang5
Normal file
9
Task/Character-codes/Lang5/character-codes.lang5
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
: CHAR "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[" comb
|
||||
'\\ comb -1 remove append "]^_`abcdefghijklmnopqrstuvwxyz{|}~" comb append ;
|
||||
: CODE 95 iota 33 + ; : comb "" split ;
|
||||
: extract' rot 1 compress index subscript expand drop ;
|
||||
: chr CHAR CODE extract' ;
|
||||
: ord CODE CHAR extract' ;
|
||||
|
||||
'a ord . # 97
|
||||
97 chr . # a
|
||||
Loading…
Add table
Add a link
Reference in a new issue