Everyday

From Esolang
Jump to navigation Jump to search

Everyday is a program created by User:Tommyaweosme, following in the trend of making new esolangs after an Esolang page of the same name gets deleted.

Control flow

Programs are run every day. A maximum of one command can be placed each day. It will always run at the same time it was made on each day.

It also has time control powers, but not to the next or previous day.

There can only be one program per machine at a time. A program can be reset, but program creations have a cooldown of a week.

Commands

0-9 Pushes the number to the stack.
+ Adds the top to the second-top.
- Subtracts the top from the second-top.
* Multiplies the top to the second-top.
/ Divides the top from the second-top.
% Modulos the top by the second-top.
x Swaps the top two.
r Pops the top two of the stack. The first value is the index of the remaining stack from the top down, and the second value is which index to swap it with.
d Pops the top of the stack and discards.
# Pops the top of the stack and outputs it as a number.
c Pops the top of the stack and outputs it as a Unicode character.
i Inputs and pushes as Unicode character.
j Inputs and pushes as a number.
^ Duplicates the top of the stack.
(...) Jumps back to the start of the brackets until the top of the stack is 0.
> Pops the top of the stack and moves time forward by that amount in minutes.
< Pops the top of the stack and moves time backward by that amount in minutes.
g Pops and discards whichever of the top two of the stack is lesser.
l Pops and discards whichever of the top two of the stack is greater.