(ch34t) c0d3
(ch34t) c0d3 is an esolang created by User:Yayimhere. its 2d and has only 4 commands. kinda? well see concept. the commands are:
>v ^<
which are code pointer arrows which changes its direction. its starts going left in lower right corner. memory is a stack holding unbounded strings. spaces are NOP's. the program extends infenitily to the right and up
concept
the concept was that a sequence commands are the actual commands
commands
they all have length 7. we dont care about NOP's. ?
denotes that it can be anything. if a pop is applied with no element to pop program gives an error
sequence of arrows | what it does |
---|---|
^x>>?< |
push x(single command) to stack |
^^^>^^> |
pop the two top values of stack and append the first popped to second popped and push result |
>v<^^<< |
push a newline |
^^?>v<^ |
pop top of stack and insert it at command pointer, with the middle of that string in both 2d directions and skip the code pointer out of the strings border in pointer direction |
^^^^>v? |
pop top of stack |
??^^>xv |
the same as >v<^^<< ^^^>^^> ^^^>^^> ^x>>?< ^x>>?< ^^^>^^>
|
everything is a NOP. so now normal arrows can be done, where x is where it enters:
> : x x>>>>>>> x < : x <<<<<<<x x ^ : ^ ^ ^ ^ ^ ^ ^ x^x x v : x xvx v v v v v v
Computational class
If change the structure of the program so that stack would not be empty while pop command is executed, the language is clearly Turing-complete, as the language is extension of Nopfunge Solid, with exception that program is infinite in the in the up, but not down, we can (probably) also use stack elements as registers. also if you make spaces be 7*7 of spaces, and arrows be the equals given above inserted into these 7*7 spaces