Stupid

From Esolang
Jump to navigation Jump to search

Stupid is an esoteric programming language by User:A, and is made up entirely of variables. Each line is just a case-sensitive variable name, followed by =, and then the variable's case-sensitive value.

The variable names can be anything including special names, and the values can be anything as well, and can also be special values:

IN inputs the variable. (Set the var as input)
OUT outputs a variable.
cnd. starts a while loop named x with the given condition. The while loop's commands should have a tab or 4 spaces.
== equal to. Only used in while comdition.

Example

Hello World

hw=Hello, World!
hw=out

Truth-machine

v=IN
v=OUT
x=v==1.
    v=OUT