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.

Zidsho

From Esolang
Jump to navigation Jump to search

Zidsho is a Deadfish derivative made by User:Yb1 with only 6 instructions.

Zidsho
Designed by User:Yb1
Appeared in 2026
Computational class Total
Major implementations Interpreter
File extension(s) .zid

Instructions

Instructions
Instruction Description
z Set accumulator to 0
i Increment the accumulator
d Decrement the accumulator
s Square the accumulator
h Halve the accumulator and round down
o Output the accumulator's current value as a Unicode character

Examples

Hello World!

iissishhohhhisioiiiiiiiooiiiohhshhhhdohhdddshohdddshiiiohhshhioiiioddddddoziiisisohhhhsdddo

Computational class

This esolang does not have conditional logic or loops, which makes it total.

Interpreter

Here is an Zidsho interpreter in JavaScript, where you replace programString's definition with the Zidsho program.

programString = "ziiisiisohhdhshoho"
a = 0;
s = "";
for (inst of programString) {
  if (inst=="z") {a=0;}
  if (inst=="i") {a++;}
  if (inst=="d") {a--;}
  if (inst=="s") {a*=a;}
  if (inst=="h") {a=Math.floor(a/2);}
  if (inst=="o") {s+=String.fromCodePoint(a);}
  if (inst=="n") {s+=`${a}`;}
};
console.log(s);