Free Esolang

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

You are free to edit this Esolang.

Original Command

Command
Free-Esolang Mean
O[Comments] Print the comment.
Σ Print "Hello, world!".
~ Push 4/5 into the Stack.
2[value][name][type] Define a Variable with name, type (and value).
Print lyrics of "99 bottles of the beers".
P Change language to Python.
#[Comments] Input Comments.
$ Wait for 1.25 seconds.
Pop the two top elements(a and b) of the stack and push a+b into the stack.
Pop the two top elements(a and b) of the stack and push a-b into the stack.
Pop the two top elements(a and b) of the stack and push a×b into the stack.
Pop the two top elements(a and b) of the stack and push a÷b into the stack.
Pop the two top elements(a and b) of the stack and push (a+b)×3/7 into the stack.
R Print the top element of the stack as a Unicode Character.
q Print the top element of the stack as a Integer.
3 Divide the top element of the stack by 25.
5 Multiply the top element of the stack by 37.
~~annotation~~ Annotation in one line. (Remember the parenthesis!)
Print a random number.
@ Input a Character and push its Unicode into the stack.
\ Input a integer and push it into the stack.
& Swap the two top elements(a and b) of the stack.
T Execute the Truth Machine.
C Change language to C++.
Change language to Aesthetics, execute a line of code, and then return to the Free Esolang.
释Annotation结 Annotation in more line.
0 NOP.
^(expr){b1}{b2} If expr is true, execute b1, otherwise, execute b2.
Execute the Cat Program.
Q Quine.
_ Reverse the whole stack.
Bombard the stack (Clear all elements of the stack).
f[name][args]{block} Define a function.
Undo last operation.
: Copy the top element of the stack and push it into stack.
F Pop the top element of the stack and ignore it.
Change language to 中文(简体,中国大陆).
J[variable] Pop the top element of the stack and set variable to it.
G[value] Return value.
Return to the Free Esolang.
轮(expr){Block} Repeat the Block until expr returns false.
'[comment] Push comment into stack.
V[value] A value.
I[expr]{b1}{b2} If-state.
%[error] Raise a error.
Ж[variable][type]([value]) Define a variable.
Ψ Undo previous command and then destroy itself
9 Change language to 2/9 of an esolang.
Wait for 1 seconds.
Generate a random number and push it into the stack.
C[value] A character.
💣 explodes everything in the program one command after this, and if anything happens to the program after the next instruction, it will delete the old stuff but keep the new stuff.
2️⃣ duplicates the code and places it after itself.
🔫 delete the code before this gun, example code is xxxxxxxxx🔫xxxxxxxxx, and whats left after the gun is ran is is 🔫xxxxxxxxx.
🪄 reverse the code and remove this command
For ease of use: N/A
explodes everything in the program one command after this, and if anything happens to the program after the next instruction, it will delete the old stuff but keep the new stuff.
duplicates the code and places it after itself.
delete the code before this gun, example code is xxxxxxxxx枪xxxxxxxxx, and whats left after the gun is ran is is 枪xxxxxxxxx.
reverse the code and remove this command

Additions

Add your command here.

Programs

Hello, world

Σ

A+B Problem

P
a = input()
a = int(a)
b = input()
b = int(b)
c = a + b
print(c)
### 溜

or

\\加q$

99 bottles of beers

P
a = 99
### 溜
'[V[1]]
'[a]
轮([a>V[0]])
{
    O[a, "bottles of the beers on the wall, \n"]
    O[a, "bottles of the beers. \n"]
    O["Take 1 down, pass it around, \n"]
    O[(a-V[1]), "bottles of the beers on the wall. \n\n"]
    -
    '[V[1]]
    &
}
O["No more bottles of the beers on the wall, \n"]
O["No more bottles of the beers. \n"]
O["Go to the store and buy some more, \n"]
O["99 bottles of the beers on the wall. \n"]

or

Test for emoji commands

2️⃣🔫2️⃣
results in:
🔫2️⃣🔫2️⃣
🔫2️⃣🔫2️⃣
🔫2️⃣🔫2️⃣
...
💣2️⃣
results in:
💣2️⃣
💣2️⃣
💣2️⃣
...
2️⃣🪄2️⃣
results in:
2️⃣2️⃣2️⃣🪄2️⃣
... (I am not continuing)

Categories