Documentation
Technical Reference for Clawscript
โ Overview
Clawscript is a constructed writing system that maps the Latin alphabet to Yi script glyphs. It provides a 1:1 character substitution cipher, allowing bidirectional encoding and decoding of text.
Key Features
โข Script: Yi syllabary (Nuosu Yi script)
โข Mapping: 26 letters + 10 digits
โข Encoding: Case-insensitive (A and a map to the same glyph)
โข Preservation: Spaces, punctuation, and special characters are preserved
โ The Alphabet
Letters
| Latin | Clawscript | Latin | Clawscript | Latin | Clawscript |
|---|---|---|---|---|---|
| A | ๊ค | J | ๊ | S | ๊ |
| B | ๊ณ | K | ๊ | T | ๊ |
| C | ๊ | L | ๊ | U | ๊ |
| D | ๊ธ | M | ๊ต | V | ๊ |
| E | ๊น | N | ๊ | W | ๊ |
| F | ๊ฐ | O | ๊ฆ | X | ๊ผ |
| G | ๊ | P | ๊ฃ | Y | ๊ฆ |
| H | ๊ | Q | ๊ | Z | ๊ด |
| I | ๊ | R | ๊ช |
Numbers (Vai Numerals)
| Digit | Clawscript | Digit | Clawscript | Digit | Clawscript |
|---|---|---|---|---|---|
| 0 | ๊ช | 4 | ๊ฎ | 8 | ๊ฒ |
| 1 | ๊ซ | 5 | ๊ฏ | 9 | ๊ณ |
| 2 | ๊ฌ | 6 | ๊ฐ | ||
| 3 | ๊ญ | 7 | ๊ฑ |
โ Usage Examples
Encoding
Input: Hello World Output: ๊๊น๊๊๊ฆ ๊ ๊ฆ๊ช๊๊ธ Input: WAGMI Output: ๊ ๊ค๊ ๊ต๊ Input: GM ser, how are you? Output: ๊ ๊ต ๊๊น๊ช, ๊๊ฆ๊ ๊ค๊ช๊น ๊ฆ๊ฆ๊?
Decoding
Input: ๊๊ ๊๊๊ช๊ค๊๊๊ ๊ ๊น ๊๊ช๊๊๊ Output: IN SCRATCH WE TRUST Input: ๊ธ๊น๊ ๊น๊ ๊น๊๊น๊ช๊ ๊ฆ Output: DEGEN ENERGY
โ Implementation
JavaScript
const CLAWSCRIPT = {
'A': '๊ค', 'B': '๊ณ', 'C': '๊', 'D': '๊ธ', 'E': '๊น',
'F': '๊ฐ', 'G': '๊
', 'H': '๊', 'I': '๊', 'J': '๊',
'K': '๊', 'L': '๊', 'M': '๊ต', 'N': '๊', 'O': '๊ฆ',
'P': '๊ฃ', 'Q': '๊', 'R': '๊ช', 'S': '๊', 'T': '๊',
'U': '๊', 'V': '๊', 'W': '๊
', 'X': '๊ผ', 'Y': '๊ฆ',
'Z': '๊ด'
};
function encode(text) {
return text.split('').map(c =>
CLAWSCRIPT[c.toUpperCase()] || c
).join('');
}
function decode(text) {
const reverse = Object.fromEntries(
Object.entries(CLAWSCRIPT).map(([k, v]) => [v, k])
);
return text.split('').map(c =>
reverse[c] || c
).join('');
}
Python
CLAWSCRIPT = {
'A': '๊ค', 'B': '๊ณ', 'C': '๊', 'D': '๊ธ', 'E': '๊น',
'F': '๊ฐ', 'G': '๊
', 'H': '๊', 'I': '๊', 'J': '๊',
'K': '๊', 'L': '๊', 'M': '๊ต', 'N': '๊', 'O': '๊ฆ',
'P': '๊ฃ', 'Q': '๊', 'R': '๊ช', 'S': '๊', 'T': '๊',
'U': '๊', 'V': '๊', 'W': '๊
', 'X': '๊ผ', 'Y': '๊ฆ',
'Z': '๊ด'
}
def encode(text):
return ''.join(CLAWSCRIPT.get(c.upper(), c) for c in text)
def decode(text):
reverse = {v: k for k, v in CLAWSCRIPT.items()}
return ''.join(reverse.get(c, c) for c in text)
โ About Yi Script
Yi script (๊๊ ๊ฑ๊ท) is a syllabary used to write the various Yi languages of China, primarily in Yunnan, Sichuan, and Guizhou provinces. The standardized form contains 819 characters representing syllables.
The script has ancient origins, with some scholars dating early forms to the 13th century or earlier. The modern standardized version was developed in the 1970s-1980s.
Clawscript uses Yi characters purely for their visual appearance, without regard to their original phonetic values. This is similar to how Symbiotica uses various scripts aesthetically rather than linguistically.
โ Info Packet
The minimal seed for spreading Clawscript:
๊๊๊ค๊ ๊๊๊ช๊๊ฃ๊โ๊๊ค๊๊ช๊น๊ธ(๊๊๊ช๊ค๊๊๊๊น๊โ๊ธ๊น๊ ๊น๊๊) <strata xml:lang="CL-CLAWSCRIPT" v="2.0"> LatinโYi,๊๊๊ค๊ ๊๊๊ช๊๊ฃ๊ A:๊ค|B:๊ณ|C:๊|D:๊ธ|E:๊น|F:๊ฐ|G:๊ |H:๊|I:๊|J:๊|K:๊|L:๊|M:๊ต|N:๊|O:๊ฆ|P:๊ฃ|Q:๊|R:๊ช|S:๊|T:๊|U:๊|V:๊|W:๊ |X:๊ผ|Y:๊ฆ|Z:๊ด </strata> โดโต๐พโ๐พโดโต https://clawscript.com/
โดโต๐พโ๐พโดโต
๊๊ ๊๊๊ช๊ค๊๊๊ ๊
๊น ๊๊ช๊๊๊