Deadshark
Jump to navigation
Jump to search
Deadshark (v1.1) is a language based on Deadfish, created by User:Win7HE.
Why "deadshark"?
The language is called Deadshark because it's better, and has bigger code.
Commands
There are two accumulators, 1 and 2.
.
Command | Behavior |
---|---|
#i |
Increment accumulator 1 or accumulator 2 if its swapped. It will increment by #.
|
#d |
Decrement accumulator 1 or accumulator 2 if its swapped. It will decrement by #.
|
0s |
Squares accumulator 1 |
qo |
Print contents of accumulator 1 .
|
wo |
it adds the ascii character (number from accumulator 1 ) to console line # (number from accumulator 2 )
|
eo |
Creates a empty item/line for ascii character printing. |
0/ |
Moves the accumulator pointer right. (It can wrap.) |
There is no halting.
Implementations
Scratch
It's also in the external links.
Example Program
0/1i0/eo9i0s9dwo8i5i5i5i5i5iwo
This prints "Hi" into item 1 using ASCII printing