Lines added in edit (added_lines) | [
0 => ''''V.O.I.D.''' ('''V'''ariable '''O'''perations in '''I'''nverted '''D'''omains) is a context-sensitive esoteric programming language created by [[User:Salovon|Salovon]] in 2024. 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.',
1 => '',
2 => '== Design Philosophy ==',
3 => '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.',
4 => '',
5 => '== SaloCode ==',
6 => 'V.O.I.D. does not support ASCII. It uses an internal indexing system where numbers 60-69 represent digits.',
7 => '',
8 => '{| class="wikitable"',
9 => '! Characters !! Codes !! Parity',
10 => '',
11 => '|-',
12 => '| a - z || 1 - 26 || Variable',
13 => '|-',
14 => '',
15 => '| A - Z || 27 - 52 || Variable',
16 => '|-',
17 => '',
18 => '| . || 53 || Odd (Reverse)',
19 => '|-',
20 => '',
21 => '| , || 54 || Even (Rule of 5)',
22 => '|-',
23 => '',
24 => '| ! || 55 || Odd (Reverse)',
25 => '|-',
26 => '',
27 => '| - || 56 || Even (Rule of 5)',
28 => '|-',
29 => '',
30 => '| ? || 57 || Odd (Reverse)',
31 => '|-',
32 => '',
33 => '| ' || 58 || Even (Direct)',
34 => '|-',
35 => '',
36 => '| [Space] || 59 || Odd (Reverse)',
37 => '|-',
38 => '',
39 => '| 1 - 9 || 60 - 68 || Variable (61, 63, 65, 67 are Odd)',
40 => '|-',
41 => '',
42 => '| 0 || 69 || Odd (Reverse)',
43 => '|}',
44 => '',
45 => '== Core Rules ==',
46 => 'The language's difficulty stems from two main rules that determine if a command is executed normally or in '''Reverse'''.',
47 => '',
48 => '=== Parity Rule ===',
49 => 'If the value in the current memory cell is '''odd''', the next command is executed in its Reverse form.',
50 => '',
51 => '=== Rule of 5 ===',
52 => '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.',
53 => '',
54 => '== Command Table ==',
55 => '{| class="wikitable"',
56 => '! Command !! Reverse !! Description',
57 => '',
58 => '|-',
59 => '| + || - || Increment / Decrement',
60 => '|-',
61 => '',
62 => '| - || + || Decrement / Increment',
63 => '|-',
64 => '',
65 => '| * || | || Multiply by 2 / Divide by 2 (remainder to next cell)',
66 => '|-',
67 => '',
68 => '| | || * || Divide by 2 / Multiply by 2',
69 => '|-',
70 => '',
71 => '| / || \ || Move pointer Forward / Backward',
72 => '|-',
73 => '',
74 => '| \ || / || Move pointer Backward / Forward',
75 => '|-',
76 => '',
77 => '| % || ~ || Random (1 to value) / Rounding',
78 => '|-',
79 => '',
80 => '| ~ || % || Rounding / Random',
81 => '|-',
82 => '',
83 => '| & || @ || Input / Runtime Error',
84 => '|-',
85 => '',
86 => '| @ || & || Runtime Error / Input',
87 => '|-',
88 => '',
89 => '| # || $ || Load to buffer / Store digit length of the cell',
90 => '|-',
91 => '',
92 => '| $ || # || Store digit length of the cell / Load to buffer',
93 => '|-',
94 => '',
95 => '| = || = || Output (Stable)',
96 => '|-',
97 => '',
98 => '| ' || ' || Reset cell to 0 (Stable)',
99 => '|}',
100 => '',
101 => 'Note: '''Combo commands''' (like <code>=#</code> or <code>=@</code>) and the <code>@</code> modifier are never affected by reversal. A standalone <code>@</code> triggers an immediate <code>Void Collapse Error</code> unless it is reversed into <code>&</code>.',
102 => '',
103 => '== Restrictions ==',
104 => '* '''No Comments:''' Any character not present in the SaloCode or command list (including spaces, tabs, or slashes) will trigger a <code>Void Collapse Error</code>.',
105 => '* '''Linear Execution:''' Code is a continuous stream. Insertion is impossible; the programmer must calculate every parity shift ahead of time.',
106 => '* '''Memory:''' The environment provides exactly 1,000,000 cells.',
107 => '',
108 => '== Examples ==',
109 => '',
110 => '=== Hello World ===',
111 => 'This outputs "HelloWorld" (no space). It accounts for all parity shifts and Rule of 5 triggers:',
112 => '<pre>',
113 => '+',
114 => '-',
115 => '*',
116 => '*',
117 => '-',
118 => '-',
119 => '*',
120 => '-',
121 => '*',
122 => '-',
123 => '-',
124 => '-',
125 => '-',
126 => '-',
127 => '-',
128 => '-',
129 => '-',
130 => '#',
131 => ''',
132 => '+',
133 => '-',
134 => '*',
135 => '*',
136 => '-',
137 => '#',
138 => '*',
139 => '-',
140 => '-',
141 => '#',
142 => '#',
143 => '*',
144 => '-',
145 => '-',
146 => '#',
147 => ''',
148 => '+',
149 => '-',
150 => '*',
151 => '*',
152 => '-',
153 => '*',
154 => '-',
155 => '-',
156 => '-',
157 => '-',
158 => '-',
159 => '#',
160 => ''',
161 => '+',
162 => '-',
163 => '*',
164 => '*',
165 => '*',
166 => '*',
167 => '*',
168 => '+',
169 => '+',
170 => '+',
171 => '+',
172 => '+',
173 => '#',
174 => ''',
175 => '+',
176 => '-',
177 => '*',
178 => '*',
179 => '*',
180 => '*',
181 => '*',
182 => '-',
183 => '#',
184 => ''',
185 => '+',
186 => '-',
187 => '*',
188 => '*',
189 => '-',
190 => '*',
191 => '-',
192 => '-',
193 => '-',
194 => '-',
195 => '-',
196 => '#',
197 => ''',
198 => '+',
199 => '-',
200 => '*',
201 => '*',
202 => '*',
203 => '-',
204 => '-',
205 => '#',
206 => ''',
207 => '+',
208 => '-',
209 => '*',
210 => '*',
211 => '-',
212 => '-',
213 => '#',
214 => ''',
215 => '+',
216 => '-',
217 => '*',
218 => '*',
219 => '#',
220 => '=#',
221 => '</pre>',
222 => '',
223 => '=== Cat Program ===',
224 => 'Reads a single character and outputs it. Stable against any parity or "5" triggers due to the <code>=@</code> combo.',
225 => '<pre>',
226 => '&',
227 => '=@',
228 => '</pre>',
229 => '',
230 => '[[Category:Languages]]',
231 => '[[Category:Esoteric languages]]'
] |