Deadshark

From Esolang
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, accumulator 1 and accumulator 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 for ascii character printing.
0/ Swaps accumulators for i and d (does not swap values)

There is no 0h .

Implementations

Scratch

It's in the external links, press "See inside".

Example Program

0/1i0/eo9i0s9dwo8i5i5i5i5i5iwo

This prints "Hi" into item 1 using ASCII printing

External Links