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.

∽

From Esolang
Jump to navigation Jump to search

∽, or "backwards tilde", is a stack oriented language made by Cool Fool!!!! to purposely have similar characters.

Definition

Stacks

character meaning
t increment value
T decrement value
I̅ push value onto stack
J̅ pop value from stack
' print top value from stack as a decimal number
" print top value from stack as a hexadecimal number
: print top value from stack as a binary number
; print top value from stack as an octal number
! print top value from stack as a unicode character
? get one byte of input and store it as the value

Control flow

character meaning
I[x]→[y] If x is true, then y.
∽[x][y] less than
∼[x][y] greater than
≈[x][y] equal to
≅[x] Loop x indefinitely
≃[x][y] Loop x y times
J[x]→[y] If x is false, then y.

Math

character meaning
.[x][y] x plus y
,[x][y] x minus y
£[x][y] x times y
€[x][y] x divided by y
E[x][y] x to the power of y
Ł̅ euler's number
L̅ pi
Ꞁ̲ i

Variables

character meaning
≒var set "var" to the top of the stack
≓var set value to "var"
=var set "var" to value

Backup stack

we also have a backup stack so it isn't essentially a push-down automaton, with the commands:

character meaning
Q push value onto backup
q pop value from backup
Ω copy stack onto backup
O copy backup onto stack.

We need a backup stack so we can store the information somewhere due to the "pop" command removing information.

Programs

Hello, World!

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt I̅ ! ttttttttttttttttttttttttttttt I̅ ! ttttttt I̅ !! ttt I̅ ! TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT I̅ ! TTTTTTTTTTTT I̅ ! ttttttttttttttttttttttttttttttttttttttttttttttttttttttt I̅ ! tttttttttttttttttttttttt I̅ ! ttt I̅ ! TTTTTT I̅ ! TTTTTTTT I̅ ! TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT I̅ !

Truth machine

=b t = c ? =a I[≈[a][b]] tttttttttttttttttttttttttttttttttttttttttttttttt I[≈[a][c]] ttttttttttttttttttttttttttttttttttttttttttttttttt

99 bottles of beer

note: not to have our letters run as code, comma became lowercase c and t/T became ŧ/Ŧ. Also space is capital S and new line is capital N for reasons
t =1 t =2 tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt =C =A T =b ttttttttttttt =o ttttt =ŧ TTTTTTTT =l TTTTTTT =e ttttttt =s TTTTTTTTTTTTT =f tttttttttttt =r TTTT =n TTTTTT =h ttttttttt =w TTTTTTTTTTTTTTTTTTTTTT =a TTTTTTTTTTTTT =Ŧ ttttttttttttttttttttttt =k ttttttt =d TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT =c tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt =p TTTTTTT =i tttttttttttt =u TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT =S ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt =N ≃[I[~[C][2]]→[≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓s ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !! ≓N ! ≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓s ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓N ! ≓ŧ ! ≓a ! ≓k ≓e ! ≓S ! ≓o ! ≓n ! ≓e ≓S ! ≓d ! ≓o ! ≓w ! ≓n ! ≓c ! ≓S ! ≓p ! ≓a ! ≓s !! ≓S ! ≓i ! ≓t ! ≓S ! ≓a ! ≓r ! ≓o ! ≓u ! ≓n ! ≓d ! ≓S ≓C T =C ' ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓s ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !!] I[≈[C][2]]→[≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓s ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !! ≓N ! ≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓s ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓N ! ≓ŧ ! ≓a ! ≓k ≓e ! ≓S ! ≓o ! ≓n ! ≓e ≓S ! ≓d ! ≓o ! ≓w ! ≓n ! ≓c ! ≓S ! ≓p ! ≓a ! ≓s !! ≓S ! ≓i ! ≓t ! ≓S ! ≓a ! ≓r ! ≓o ! ≓u ! ≓n ! ≓d ! ≓S ≓C T =C ' ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !!] I[≈[C][1]]→[≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !! ≓N ! ≓C ' ≓S ! ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓N ! ≓ŧ ! ≓a ! ≓k ≓e ! ≓S ! ≓o ! ≓n ! ≓e ≓S ! ≓d ! ≓o ! ≓w ! ≓n ! ≓c ! ≓S ! ≓p ! ≓a ! ≓s !! ≓S ! ≓i ! ≓t ! ≓S ! ≓a ! ≓r ! ≓o ! ≓u ! ≓n ! ≓d ! ≓S ≓C T =C ' ≓b ! ≓o ! ≓ŧ !! ≓l ! ≓e ! ≓S ! ≓o ! ≓f ! ≓S ! ≓b ! ≓e !! ≓r ! ≓o ! ≓n ! ≓S ! ≓ŧ ! ≓h ! ≓e ! ≓S ! ≓w ! ≓a ! ≓l !!]][A]