I read an article on cracked a couple of weeks ago, unfortunately it seems to have been removed. Anyway the topic was wierd programming languages, and one language piqued my interest. It was a language that could be "interpreted" in all directions, going up->down, down->up, right->left and left->right. It's sole purpose was to make a language as hard as possible to write a compiler for, some people suceeded though.
The code snippet was a hello world example, the text was in reverse (I think), 'dlrow olleh'.
>>2
Trollgol isn't that consistent with the palindromes (on purpose) and I'm ashamed to admit that the Hello world example would be as simple as: with main do
call writeLn "Hello World" llac
od
OP here again, maybe I was a bit ambiguous on one point.
The text string to be printed was in reverse, not the actual code. Well, memory serves, the syntax/code seemed quite easy on the eyes, it wasn't obfuscated in any significant degree.
Name:
Anonymous2009-11-09 13:12
I don't know anything about programming; I was just passing by and got curious, so I did some googling. Is this it?: http://en.wikipedia.org/wiki/Befunge
Don't know what code tags to use or whatever, but this is their Hello World example: v
v ,,,,,"Hello"<
>48*, v
v,,,,,,"World!"<
>25*,@
>>7
There's nothing to it really, just take scheme, mix in some pascal and bash and if something looks too consistent, break it. I've been meaning to implement it myself, but I've been too busy with my own Robust Turnkey Solutions to be much bothered. --previous posts-- http://dis.4chan.org/read/prog/1256142514/11 http://dis.4chan.org/read/prog/1256713588