We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Cod

From Esolang
Jump to navigation Jump to search
Not to be confused with COD.

Cod is an esolang created by User:Phase. It was inspired by Deadfish and builds upon it with new (and weird) commands.

New commands:

Command Use
b Take the binary two's complement of the value
q Square root the value
r Right shift value
l Left shift value
& Turn value into the value's pointer
n Print the value as a number
e Zero the value
4 Decrement the value to zero, while printing each ASCII value along the way
5 Do the same as 4, except reset the value to its original number afterwards
6 Do the same as 4, except go upwards to the square of the value

External resources

You can find the current interpreter on GitHub.