~EarthBit

From Esolang
Jump to navigation Jump to search

EarthBit is a Joke language made by User:Conor O'Brien that is interesting in that all the operators are confused.

Syntax

In EarthBit there are numeric literals, the only data type. Each number pushes an instance of itself to the stack. Each line represents a different computation.

Instruction Effect
A Grabs the previous answer. Defaults to Infinity
i Tajes
+ Multiplies top two entries on stack, push the result.
* Divide top entry by the next entry on stack, push the result.
/ Pop top value N and push -N
- Pop A then B and push B^A
^ Push the sum of top two entries.
O Goto the (result)th line if the lines result is not zero

A blank line outputs the result.