Network Headache
From Esolang
Network Headache is an esoteric programming language invented by zzo38 (User:Zzo38).
The purpose of this programming language is that all variables are shared with all Network-Headache programs running, everywhere. Every step (a fixed amount of time), a list of all running programs is made, ordered randomly, and one step is executed of each program, in that order. Variable names are all uppercase letters, nothing else. Numbers are infinitely long non-negative integers.
[edit] Operators
- a-b = Subtraction, absolute value
- a*b = Multiplication
- a$b = INTERCAL Mingle
- a~b = INTERCAL Select
- a? = (a) XOR (2a). So binary [10010111]?=[110111001] (like INTERCAL)
- (a) = Value of A, used to set precedence.
- Numbers are in base ten, variable names used anywhere numbers can.
[edit] Commands
- SET a=b = Sets value of variable A to B
- IN a = Reads input, stores in var A
- OUT a = Outputs A
- SKIP = Skips a command in next program which will execute a step. Wastes its turn, and its line.
- LABEL a = Label here number A.
- DO a = If label A exists, push here to stack, goto A.
- FORGET a = Works like INTERCAL forget command.
- EXIT = Works like INTERCAL DO RESUME #1. If stack empty, ends program execution.

