Why is this FIOC syntax so awesome? Time to create a little interpreter for a language like this.
HOW TO RETURN words document:
PUT {} IN collection
FOR line IN document:
FOR word IN split line:
IF word not.in collection:
INSERT word IN collection
RETURN collection
Name:
Anonymous2012-03-26 22:05
HOW TO RETURN words document:
PUT {} IN collection
FOR line IN document:
FOR word IN split line:
IF word not.in collection:
INSERT word IN collection
RETURN collection where's your FIOC now?!?
Name:
Anonymous2012-03-26 22:10
HOW TO RETURN words document:
PUT {} IN collection
FOR line IN document:
FOR word IN split line:
IF word not.in collection:
INSERT word IN collection
RETURN collection
Name:
Anonymous2012-03-26 22:20
N Queens:
HOW TO QUEENS n:
DISPLAY n filled {}
HOW TO DISPLAY board:
IF board = {}:
WRITE "No solution" /
FOR p IN board:
WRITE "# "^^(p-1), "O "
WRITE "# "^^(#board - p) /
HOW TO RETURN n filled board:
IF #board = n: RETURN board
FOR p IN {1..n}:
IF safe:
PUT n filled board' IN new
IF new <> {}: RETURN new
RETURN {}
safe: REPORT col AND left AND right
col: REPORT p not.in board
left: REPORT NO r IN keys board HAS r+board[r] = #board+1+p
right: REPORT NO r IN keys board HAS r-board[r] = #board+1-p
board':
PUT p IN board[#board+1]
RETURN board
So elegant!
Name:
Anonymous2012-03-27 0:28
the human race has nothing better to do than fight
if we actually worked together as one planet we could get shit done and everybody would be alot happier
but then again we wouldn't be happy since we aren't fighting so i don't give a damn
>>5 if we actually worked together as one planet we could get shit done and everybody would be alot happier
Let's work together to exterminate the Jewish vermins worldwide!