Sey

From Esolang
Jump to navigation Jump to search

Sey is an Esoteric programming language created by User:Buckets in 2021.

Commands Instructions
-m Push -m.
* Multiply the top value With The top value From the line Above.
+ Add the top value With The top value From the line Above.
/ Divide the top value With The top value From the line Above.
% Modulo the top value With The top value From the line Above.
? Modify *, +, /, #, & and % if used Right before To receive The top value from the line Below's Stack.
# Push the Input to The Line above's Stack.
& Pop off the top value to The Line above's Stack and Printing it In ASCII.
^ Duplicate the top of The stack.
[ Noop.
] Pop off the top of the Stack and Go to the Valueth [.
{n|} If the top of the stack = n, Execute the Code on the other side of The Vertical Line.
. Halt the Program.

"Hello, World!" Program:

-72
-1*
&-101
-1*
&-108
-1*
^&&-111
-1*
&-44
-1*
&-32
-1*
&-87
-1*
&-111
-1*
&-114
-1*
&-108
-1*
&-100
-1*
&-33
-1*
&

Cat program:

?#?&
Cat.

Truth-machine Program:

?#
{0|
&.}-1*
-1*{1|[
&]}