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.

MY E KEY BROKE

From Esolang
Jump to navigation Jump to search
MY E KEY BROKE
Designed by user:raiseafloppafan7741
Appeared in 2026
Computational class Likely Turing-complete with unbounded integers
Reference implementation Unimplemented
File extension(s) .EeEe

MY E KEY BROKE is an esolang by user:raiseafloppafan7741 in 2026 after realizing the E key on his keyboard completely stopped working.[1][2][3] This language is meant to cause pain to those without a functioning E key, or a broken Shift key.

Overview

There are two stacks of signed integers of unspecified size. Each instruction is followed by a number of es which corresponds to the next state number, starting from 1.

Ee pushes a 0 to the current stack.

EEe increments the top of the current stack.

EEEe decrements the top of the current stack and moves to the state right after it. However if it is zero, then it jumps to the next state specified by the es instead.

EEEEe swaps the top two values of the current stack.

EEEEEe reads a byte of input and pushes it to the current stack. -1 is pushed on EOF.

EEEEEEe pops the top of the current stack and prints it.

EEEEEEEe duplicates the top of the current stack.

EEEEEEEEe discards the top of the current stack.

EEEEEEEEEe halts. Unlike the others, it does not have es after it as there is no next state.

EEEEEEEEEEe switches the current working stack.

EEEEEEEEEEEe moves the top element of the other stack to the current working stack.

Everything else (even whitespace) is considered an invalid character.

Any errors will halt and print out MY E KEY BROKE.

Computational class

MY E KEY BROKE is likely Turing-complete with unbounded integers, as it could simulate a 2-register Minsky machine with the {INC, JZDEC} operations.

Examples

Error quine

This works because M is not a valid command.

MY E KEY BROKE

One Time Cat

EEEEEeeEEEEEEeeeEEEEEEEEEe

WIth comments (does not work with them)

1 EEEEEe      e     inp : 2
2 EEEEEEe     ee    out : 3
3 EEEEEEEEEe        hlt

Cat program

EEEEEeeEEeeeEEEeeeeeEEEEEEeEEEEEEEEEe

With comments (does not work, remove them first)

1 EEEEEe      e     inp : 2
2 EEe         ee    inc : 3
3 EEEe        eeee  dec : 4, 5
4 EEEEEEe           out : 1
5 EEEEEEEEEe

See also

Notes and references

  1. It started working again, but this time the up arrow key is holding itself down somehow.
  2. Doesn't matter since the up arrow is now held down forever and some keys don't work.
  3. It started working again, however the E and R keys broke during cleaning all those weeks ago and so the typing speed is reduced significantly as otherwise they will pop out of their sockets.