User:Wikisneep

WIKISNEEP

the language of the people!!!!!

ok, this might be an extremely ignorant idea, but here it goes...

wikisneep is a programming language based on the same principles that wikipedia is based on, the idea that the community as a whole can change and mold the language. you see, i was watching the colbert report, and he said something about elephants, and it made sense at the time, but now it just seems odd...

the way it works is ill create the original language specs, and then wiki users can edit them as they choose. neat, huh?

anyhow,to incourage evolution, ill make wikisneep an extremely simple language. here she blows, a tut.

specification:

DEF_PRN,printer_name- defines printer_name as printer for output, as the printer is the only output source in wikisneep.

PRN,n- prints the contents of the stack to the printer 'n'

SCAN- gets input from user

NEXT- moves to next register

BACK- moves back 1 register

PUSH- adds 1 to current register

CUT- subtracts 1 from current register

the way a program works is you define a printer or a set of printers at the beginning of the program, like so:

DEF_PRN,stoopid_printer1

and every time you use the PRN statement, it prints to the printer. everything else is basically self explanatory to anyone whos ever messed with brainfuck.