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.

Very-simple

From Esolang
Jump to navigation Jump to search

very-simple is a stupidly simple programming language by Esolang lover123 (talk) like brainfuck, it also uses an accumulator that can be any integer from -∞ to ∞, the accumulator starts at a random number to make it difficult. there are only a few commands, less than python! after executing a command/line, it goes to the next command/line.

COMMANDS

symbol meaning
+ adds 1 to the accumulator.
- subtracts 1 from the accumulator.
I inputs the user's input into the accumulator as a number.
O outputs the current accumulators value as a number.
x?y if accumulator<x then goto line y, else continue. can also be written without the number at the front causing it to ALWAYS skip.
x~y like x?y but > instead of <.
x#y like x?y but = instead of <.
! halts if and only if the halting problem exists.
: outputs the users IP address, very useful.
O but unicode.
I but unicode.

SYNTAX

there must be at least 1 line. there must be at least 1 command. in a line there can only be ONE command. so a 1:1 ratio of lines to commands. if the number of lines in a program is z, and there's a x?y command with y>z, then it prints "ERR: too few lines.".

PROGRAMS

cat program

I
O
?1

truth machine

with negative or 0 taken as false/0 and positive taken as true/1.

I
1?8
1#6
-
1~3
O
1#6
0#12
+
0?9
0#12
O
!

this better be correct.

output 1

1#4
1?5
1~8
O
+
1?5
1#4
-
1~8
1#4

why?

A+B problem

pretty sure it's impossible

NOTES

this is dumb. don't use this, or make it real. keep it in the limbo between being a thought and being a real programming language. it's better this way.