Skound is a minimalistic esoteric programming language created by User:TriMill in 2019. It uses 8 instructions, each of which is a single character. It was created to be easy to interpret but hard to program in.
There are two places to store data in Skound, the accumulator and the stack. The accumulator is initialized to 0, and the stack is initialized empty. The only I/O available is numeric, there is no way to read or print text.
There are 8 instructions:
+increments the accumulator
-decrements the accumulator
0sets the accumulator to 0
Vpushes the accumulator to the stack
^pops the stack to the accumulator, or halts execution if the stack is empty
#skips to the character after the following
#character if the accumulator is positive, otherwise execution continues as if it was a NOP
Iinputs a number to the accumulator
Oprints the value of the accumulator
All other characters are ignored.
Once the program reaches the end it wraps back to the beginning(i.e. runs inside an infinite loop), and the last
# in the program skips back to the first one.
This version runs forever and must be stopped manually.
This version stops once the input is less than or equal to zero.
This version stops after outputting the input.
Since the program counter loops at the end of a program, this generates an infinite loop.
I+V0 #^-V# O^^ #^-V# 0+O++V0 #^-V#
0#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++O0+++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++O0++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++O0+++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++O0+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++O0+++++++++++++++++++++++++++++++++++++++++ +++O0++++++++++++++++++++++++++++++++O0++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++O0++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++O0+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++O0++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++O0+++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++O0+++++++++++++++++++++++++++++++++O0#^#
Note: Auto-generated by a python program -- prints the ascii value of each char as there is no character output
The computational class of Skound has not yet been determined.