V.O.I.D.

From Esolang
Jump to navigation Jump to search

V.O.I.D. (Variable Operations in Inverted Domains) is a context-sensitive esoteric programming language created by Salovon in 2026. It is designed to be significantly more difficult than Malbolge by making the semantics of the language depend entirely on the dynamic state of memory.

Design Philosophy

The primary goal of V.O.I.D. is to create a "9th Circle of Hell" for programmers. Unlike Malbolge, where instructions are obfuscated based on their position, V.O.I.D. instructions change their meaning based on the values they manipulate. The language uses a custom character encoding called SaloCode instead of ASCII.

SaloCode

V.O.I.D. does not support ASCII. It uses an internal indexing system where numbers 60-69 represent digits.

Characters Codes Parity
a - z 1 - 26 Variable
A - Z 27 - 52 Variable
. 53 Odd (Reverse)
, 54 Even (Rule of 5)
! 55 Odd (Reverse)
- 56 Even (Rule of 5)
? 57 Odd (Reverse)
' 58 Even (Direct)
[Space] 59 Odd (Reverse)
1 - 9 60 - 68 Variable (61, 63, 65, 67 are Odd)
0 69 Odd (Reverse)

Core Rules

The language's difficulty stems from two main rules that determine if a command is executed normally or in Reverse.

Parity Rule

If the value in the current memory cell is odd, the next command is executed in its Reverse form.

Rule of 5

If the current cell value is even (divisible by 2 without a remainder) AND contains the digit "5" at any position within the number itself (e.g., 50, 52, 54, 56, 150), the commands are reversed.

Command Table

Command Reverse Description
+ - Increment / Decrement
- + Decrement / Increment
* | Multiply by 2 / Divide by 2 (remainder to next cell)
| * Divide by 2 / Multiply by 2
/ \ Move pointer Forward / Backward
\ / Move pointer Backward / Forward
% ~ Random (1 to value) / Rounding
~ % Rounding / Random
& @ Input / Runtime Error
@ & Runtime Error / Input
# $ Load to buffer / Store digit length of the cell
$ # Store digit length of the cell / Load to buffer
= = Output (Stable)
' ' Reset cell to 0 (Stable)

Note: V.O.I.D also have combos like =@ =#

Restrictions

  • No Comments: Any character not present in the SaloCode or command list (including spaces, tabs, or slashes) will trigger a Void Collapse Error.
  • Linear Execution: Code is a continuous stream. Insertion is impossible; the programmer must calculate every parity shift ahead of time.
  • Memory: The environment provides exactly 1,000,000 cells.

Examples

Hello World

This outputs Hello World . It accounts for all parity shifts and Rule of 5 triggers:

+
-
*
*
-
-
*
-
*
-
-
-
-
-
-
-
-
#
'
+
-
*
*
-
#
*
-
-
#
#
*
-
-
#
'
+
-
*
*
-
*
-
-
-
-
-
#
'
+
-
*
*
*
*
*
+
+
+
+
+
#
'
+
-
*
*
*
*
*
-
#
'
+
-
*
*
-
*
-
-
-
-
-
#
'
+
-
*
*
*
-
-
#
'
+
-
*
*
-
-
#
'
+
-
*
*
#
=#

Cat Program

Reads a single character and outputs it. Stable against any parity or "5" triggers due to the =@ combo.

&
=@