Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Some brainfuck language

Name: Anonymous 2009-11-09 12:26

Hi /prog/
 
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'.

Anyone heard of such a language?

Name: Anonymous 2009-11-09 12:38

It was Trollgol, I guess.

Name: Anonymous 2009-11-09 12:47

>>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

Name: Anonymous 2009-11-09 12:48

bugger
>>3
s/od/od niam htiw/

Name: Anonymous 2009-11-09 12:53

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: Anonymous 2009-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*,@

Name: Anonymous 2009-11-09 13:15

>>3
Actually, could you elaborate some more on Trollgol? I was looking for some fun language to implement using my ENTERPRISE COMMON LISP SKILLS.

Name: Anonymous 2009-11-09 13:22

>>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

Name: Anonymous 2009-11-09 13:56

>>6
Listen to this anon, he is correct

Name: Anonymous 2009-11-09 15:56

>>6
And it's valid PERL too!

Name: Anonymous 2009-11-09 15:59

>>6
OP here, yeah I think that's it. Or perhaps they brought up some variant of it in the article, thanks.

Name: Anonymous 2009-11-09 16:06

>>10
Unfortunately not. :(

With a slight modification it is, though!
<<'>25*,@'>    v
v  ,,,,,"Hello"<
>48*,          v
v,,,,,,"World!"<
>25*,@

Name: Anonymous 2009-11-09 17:43

>>12

Wow, just wow.

Name: Anonymous 2009-11-11 13:18

PREL FUKC YES

Name: Anonymous 2009-11-11 14:25

>>12
Valid Perl code.

Name: Anonymous 2009-11-11 19:24

>>15
Pallid Cerl Vode

Name: Anonymous 2009-11-12 23:15


BUGGER MYANUS

Name: Anonymous 2009-11-13 0:56

SNUSP, MOTHERFUCKERS!

Name: Anonymous 2010-12-27 12:38

Name: Anonymous 2011-02-03 3:29

Name: Anonymous 2011-02-04 19:17

Name: Anonymous 2011-02-18 13:40

<-- check 'em dubz

Name: Anonymous 2012-10-09 22:56

w
i
s
h

Name: Anonymous 2012-10-09 22:57

w
i
s
h

Don't change these.
Name: Email:
Entire Thread Thread List