Onecommand

From Esolang
Jump to navigation Jump to search

Onecommand is an OISC by User:Hammy.

Command

The command is a_b_c_d jumps to line d and copies the value at register b to c, but only if register b is a. Also, there's 3 registers (A, B and stdout). All the numbers are in ternary, because ternary is better than binary and people just don't get it. The third register is like output in Boolfuck but with trits instead of bits. Because it's cool. Also, when you try to copy from A, you actually get 1 more. But if A is 2, it wraps around to 0 when it gets copied. Because why not.

Extension

This extension adds an extra value, e. _e means to copy input into register e. Copying input into register A does nothing. I will use this extension in this article.

Examples

I'm making this later.