What!?

is a relatively complete language created by User:12mrsaturns

Syntax
What syntax? The code can get as ugly or as neat as you want it to be, no matter what though it'll still look like someone was randomly pounding on the keyboard while having a seizure.

The commands
Get ready there's alot

! ouputs current memory value as a char !! outputs cur mem val as an int !!! outputs cur string val as a string !!!! outputs a newline ? takes input as a char into cur mem val ?? takes input as an int into cur mem val ??? takes input as a string into cur string val , goes back one memory location(and string) . opposite of above All math operators work similar to this memory[i] += memory[i-1] ' subtracts until another ' is reached " appends to the cur string val until another " ( in C could be translated as do...while( memory[i] != 0 ) ) end of the loop that tests the value [ executes the rest of the code if the expression is satisfied: [0:] executes if cur mem val == 0 [0;] executes if cur mem val != 0 [0<] executes if cur mem val > 0 [0>] you can probably guess

That's basically it(if I left anything out check the readme.)

Memory
For testing I had left it at 100 locations of memory, and forgot to chang it. Should be 256. And i should be 128, if anyone looked at the code. Same with string should be string[256][500]. Which brings me to strings, different from the memory but paired with it because it moves with it. Can only be 500 chars long or something of the sorts. There are no functions that can be defined in What!?(Well actually they are a WIP)

The controlling of flow

Basically that was described with []. You can do some complicated stuff with that, because it only executes the code in it if it is true, you can do stuff like ([0: )][0;"Not zero"!!! !!!!)]

Examples
99 bottles of beer

NINETYNINE " bottles of beer on the wall, ". " bottles of beer.\n". "take one down and pass it around, ". " bottles of beer on the wall.". ,,,,'s'   (!! !!! !! . !!! . !!! ,, 's'[0:......"no more"!!!,,,,,,][0;!!] ...!!!,,, !!!!) ...."No more bottles of beer on the wall, no more bottles of beer."!!!. !!!!   "Go to the store and buy some more, 99 bottles of beer on the wall."!!! !!!!

Hello world

"Hello, World!"!!! !!!!

That's all I could come up with without thinking.