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.

Methemetics

From Esolang
Jump to navigation Jump to search

Methemetics is an esoteric programming language by User:Win7HE. It uses the four basic math functions as a base. As well as != (not equal), > (greater-than), < (less-than), and == (equal). It has variables too. Every equation must end with a semicolon. (;)

Instructions

_o = ... prints the character of the result of ...

_i = ... sets the instruction number to the result of ...

_p is the unicode of the input's character #_z + 1. If _z is outside, it wll give you -1.

_z = ... sets the index for _p

Examples

Cat

 Ass = 0;
 Itchy = 0;
 Swizzle = _p;
 Itchy = Swizzle != -1;
 Itchy = Itchy * 3;
 _o = Swizzle;
 Ass = Ass + 1;
 _z = Ass;
 _i = -2 + Itchy;

It's pretty simple.

Hello, world!

 a = 72;
 _o = a;
 a = 101;
 _o = a;
 a = 108;
 _o = a;
 _o = a;
 a = 111;
 _o = a;
 a = 44;
 _o = a;
 a = 32;
 _o = a;
 a = 119;
 _o = a;
 a = 111;
 _o = a;
 a = 114;
 _o = a;
 a = 108;
 _o = a;
 a = 100;
 _o = a;
 a = 33;
 _o = a;

Long, but readable.

Implementations

Here's the original python interpreter.