These are the Ichiglyph language tools. Ichiglyph is a simple Turing-complete language derived from Brainfuck.
Ichiglyph and Brainfuck implement the same set of instructions, the only major difference is their encoding. The following table presents the encoding of the instructions of both languages.
Brainfuck | Ichiglyph |
---|---|
> |
ll |
< |
lI |
+ |
Il |
- |
II |
. |
1l |
, |
1I |
[ |
l1 |
] |
I1 |
The Ichiglyph language was inspired by a remark by Josefina Mádrová, who
cleverly noted that using the characters l
, I
and 1
in identifiers is
a bad practice.
The following tools are available:
- ichiglyph.c: Ichiglyph interpreter
- brainfuck.c: Brainfuck interpreter (as a reference)
- bf2ig.c: Brainfuck to Ichiglyph transpiler
- ig2bf.c: Ichiglyph to Brainfuck transpiler
There are also several Brainfuck and equivalent Ichiglyph sample programs in
the examples
directory. The original Brainfuck programs were taken directly
from pablojorge's GitHub repo.
These programs are copyrighted by their respective authors.
As with Brainfuck itself and all its variants and derivatives, the purpose is mostly just to have fun. However, Ichiglyph programs could be used to demonstrate that certain fonts are unsuitable for rendering source code.
Ichi means one in Japanese. Glyph is an elemental symbol within an agreed set of symbols.