6chars
Jump to navigation
Jump to search
Introduction
6chars is an esolang with exactly 6 characters. (Count by yourself! '6', 'c', 'h', 'a', 'r', 's'.)
Commands
6 Unicode characters (0x0000 ~ 0xFFFF) has 24 hexadecimal bits, which are 96 binary bits altogether.
This language is based on Whitespace (Not brainf**k, haha).
Every character in Whitespace is replaced by 2 binary bits. [Space] -> 01, [Tab] -> 10, [LF] -> 11.
If the program is longer then 6 characters. There is an ERROR imformation: ERROR: Code too long.
If the program is shorter then 6 characters. There is an ERROR imformation: ERROR: Code too short.
Example
Cat Program
In binary:
11010101110101011011101110010101011011101010101101010101011011101010111001101111011101111101011011111111
In hexadecimal:
D5D5BB956EAB556EAE6F77D6FF
But actually ...
ERROR: Code too long.
But if we ignore that ...
Õ햻镮ꭕ溮潷훿