Hieroglyphic
Jump to navigation
Jump to search
- Not to be confused with Hieroglyphics.
Syntax
Hieroglyphic uses hieroglyphics to symbolize its code. Here are the symbols and their meanings.
Symbol | Command | Gardiner Sign | Description | Unicode | Glyph |
---|---|---|---|---|---|
I | Increment current cell value | M17 | U+131CB | 𓇋 | |
B | Decrement current cell value | D58 | U+130C0 | 𓃀 | |
Q | Write following character to current cell | N29 | U+1320E | 𓈎 | |
H | Copy value at current cell to STORE | O4 | Reed shelter | U+13254 | 𓉔 |
P | Decrement pointer location | Q3 | U+132AA | 𓊪 | |
Š (SH) | Increment pointer location | N37 | Pool | U+13219 | 𓈙 |
N | Add current cell value to number in STORE | N35 | Waves | U+13216 | 𓈖 |
R | Print all letters and numbers | D21 | U+1308B | 𓂋 | |
? | Write space (ASCII 32) to current cell | M3 | Branch | U+131B1 | 𓆱 |
S | Create a mark in the code labeled with the next character | O34 | Door bolt | U+13283 | 𓊃 |
Č (CH) | Go to mark with label of next character | V13 | U+1337F | 𓍿 | |
T | If current cell value matches value in STORE, go to mark with label of next character, else, the label of character after that | X1 | U+133CF | 𓏏 | |
D | Print number | D46 | Hand | U+130A7 | 𓂧 |
W | Get input | G43 | U+13171 | 𓅱 | |
G | Write value in STORE to current cell (don't clear STORE) | W11 | U+133BC | 𓎼 | |
X (KH) | Invert case of character in current cell | AA1 | U+1340D | 𓐍 |
Examples
Cat
WR
Hello world
QHŠQEXŠQLXHŠGŠQOXŠ?ŠQWXŠQOXŠQRXŠGŠQDXŠR