Licar

From Esolang
Jump to navigation Jump to search

This esolang runs on an infinite tape. Every cell stores one of blank, zero and one. And there is a pointer (start with 0).

This esolang has 5 commands: R, E, +, -, T.

R rotates the value which the pointer is pointing (Blank -> Zero -> One -> Blank)
E sets the value to blank.
+ moves pointer right.
- moves pointer left. When the pointer is 0, it does nothing.
T[+/-][Value]: If the value is blank, jump. For example, if the value is blank now, T+2 will skip the next command.