Befunge, Brainfuck, Obfuscated Crap (47)

1 Name: #!usr/bin/anon 2005-12-05 00:45 ID:PXVSoaQm This thread was merged from the former /code/ board. You can view the archive here.

This thread is for my fellow brothers (and sisters?) who have embraced useless, obfuscated languages like Brainfuck.

++++++++[>+++++++++<-]>.<++++[>+++++++<-]>+.<++[>+++<-]>+..+++.++++[>++++++++<-]>.<+++++[>++++++++++<-]>+++++.<<.+++.------.<+++[>---<-]>+.

(^.^)/~

2 Name: #!usr/bin/anon 2005-12-05 17:14 ID:bCMa5hZP

This thread needs more Whitespace!

3 Name: #!usr/bin/anon 2005-12-06 03:26 ID:Heaven

Say hello.

4 Name: #!usr/bin/anon 2005-12-06 06:52 ID:UwdMEbDT

5 Name: !WAHa.06x36 2005-12-06 19:49 ID:Heaven

Obfuscated languages don't have just one hindrance.

6 Name: #!usr/bin/anon 2005-12-06 21:21 ID:Heaven

>>5
That's what makes them fun!

7 Name: #!usr/bin/anon 2005-12-07 02:45 ID:Heaven

Man, give me Kipple over Perl any day.

http://esolangs.org/wiki/Kipple

Major hindrances my foot.

8 Name: #!usr/bin/anon 2005-12-07 03:51 ID:PXVSoaQm

>>7
Awesome. Now I have something to do in between my OCD reloads of 4-ch.

9 Name: !WAHa.06x36 2005-12-07 14:04 ID:powhYCqc

After Unlambda, it seems the whole obfuscated language concept reached its logical conclusion. I really don't see how you could make something stranger than that, disregarding lame tricks of just artificially making your operation needlessly difficult.

10 Name: #!usr/bin/anon 2005-12-07 16:05 ID:ZQiVE4OJ

{M[m/<1>(_t)T!m(_t)(f).?\]}

11 Name: #!usr/bin/anon 2005-12-07 20:46 ID:Heaven

>>7
ORK > crappy brainfuck clones

12 Name: #!usr/bin/anon 2005-12-07 22:57 ID:F5HyC1Bg

>>9
Have you seen Lazy K? It's a purely functional esoteric language:

http://esoteric.sange.fi/essie2/download/lazy-k/lazy-k.html

It's essentially the SKI combinator calculus with an input and output system. Unlike Unlambda, it doesn't rely on side effects or evaluation order. Much purer and more elegant.

13 Name: #!usr/bin/anon 2005-12-09 15:17 ID:Heaven

Befunge quine rules all.

<+1,_@#-*48:g0:

14 Name: #!usr/bin/anon 2005-12-11 16:19 ID:Heaven

i just saw this over on world4ch and thought i'd post it here... http://web.archive.org/web/20041009210052/http://www.chilliwilli.co.uk/ff/index.html

B00B!!!!!!!!! arsefuck boob!!!!!!
Fuck boob!!!! Boob!!! Boobfuck boob!! fuck boob
Shag!!! Tits buttfuck boob!
Cock fuck boob cock boob!!!!!!
Cock cock BOOB!! cock fuck boob boob
cock shag! boob!!!!!!!!!!!!!!
cock fuck cock /* ? */
boob!! cock tits!!!!!
Cock TITS!!!!!!! cock fuck boob cock fuck cock

15 Name: #!usr/bin/anon 2005-12-11 16:53 ID:Heaven

>>12
would be more impressive if the interpreter would actually compile...

16 Name: #!usr/bin/anon 2005-12-12 16:00 ID:Heaven

>>15
Post your problems.

17 Name: 15 2005-12-13 16:46 ID:Heaven

>>15

lazy.cpp:35:16: io.h: No such file or directory
lazy.cpp:59: error: `operator new' takes type `size_t' (`long unsigned int') as first parameter
lazy.cpp: In function `int main(int, char**)':
lazy.cpp:563: warning: taking address of temporary
lazy.cpp:566: error: `O_BINARY' undeclared (first use this function)
lazy.cpp:566: error: (Each undeclared identifier is reported only once for each function it appears in.)
lazy.cpp:566: error: `setmode' undeclared (first use this function)
lazy.cpp:574: warning: taking address of temporary
lazy.cpp:585: warning: taking address of temporary

18 Name: #!usr/bin/anon 2005-12-13 21:13 ID:Heaven

19 Name: #!usr/bin/anon 2005-12-14 15:14 ID:F2dwmzJe

>>9

But it's not even 2-dimensional. SNUSP is much cooler.

20 Name: #!usr/bin/anon 2005-12-14 17:00 ID:Heaven

>>19
making languages 2-dimensional isn't obfuscation, it's a gimmick to make a brainfuck clone look different from brainfuck.

21 Name: #!usr/bin/anon 2005-12-15 20:07 ID:F5HyC1Bg

>>20
Sometimes, yes. In Befunge's case, it's also self-modifying, so code cells can be used as storage, making the language difficult to compile.

2D also offers the opportunity to reuse instructions from several directions, e.g. in SNUSP you can add a large number compactly by using each "+" instruction four times.

22 Name: #!/usr/bin/anonymous : 2006-03-14 07:24 ID:xiKKt3GQ

I wrote a bf compiler once. I tried programming in it, so I added like 10 more commands. Even then, I couldn't find a way to translate an 'if' statement into the stupid language ^^;

23 Name: Albright!LC/IWhc3yc : 2006-03-14 16:41 ID:Leu7rwNS

>>17 just gave me an idea. What about an obfuscated language in which the syntax appears to be nothing but compilation errors?

If you wanted to get especially wacky, you could write a faulty script that, when compilation was attempted, resulted in a list of errors that would be the real source code of the program.

24 Name: #!/usr/bin/anonymous : 2006-03-18 04:22 ID:5vuRK3v1

That's beyond obfuscated, that's just about stenographic.

25 Name: #!/usr/bin/anonymous : 2006-03-18 12:46 ID:Heaven

"SteGAnographic" (nurupo).

26 Name: #!/usr/bin/anonymous : 2006-03-18 17:11 ID:Heaven

What about an obfuscated language where YOUR MOM is a syntactically valid program? Ha!

27 Name: #!/usr/bin/anonymous : 2006-03-19 02:44 ID:Heaven

she already is, you bastard

28 Name: #!/usr/bin/anonymous : 2006-03-21 15:15 ID:PHKZkmfu

>>26

That's a syntatically valid Beatnik program.

http://www.cliff.biffle.org/esoterica/beatnik.html

29 Name: #!/usr/bin/anonymous : 2006-03-21 15:56 ID:Heaven

>>28
I meant your actual mom, not the phrase "YOUR MOM".

30 Name: #!/usr/bin/anonymous : 2006-03-24 05:13 ID:g1iAeKho

a little program in brainfuck
--------(
8+++++++>O
--------(

31 Name: #!/usr/bin/anonymous : 2006-05-18 00:52 ID:5sJTgNqD

Piet's my favourite.

"Piet is a programming language in which programs look like abstract paintings. The language is named after Piet Mondrian, who pioneered the field of geometric abstract art."

http://www.dangermouse.net/esoteric/piet.html

32 Name: #!/usr/bin/anonymous : 2006-05-18 11:38 ID:Heaven

>>31 wins for actually being clever and innovative, and not just another variation on Brainfuck or artificially obfuscated.

33 Name: #!/usr/bin/anonymous : 2006-05-18 14:53 ID:ATMDVxRe

>>32
And yet, it's just another Befunge clone (2D language). The only difference is using colors instead of characters.

34 Name: #!/usr/bin/anonymous : 2006-05-29 17:31 ID:Vvx/Yv8j

35 Name: #!/usr/bin/anonymous : 2007-02-14 18:59 ID:vrPBz5r4

so i saw this on thedailywtf:

Appendix 7: An example of "traditional" M coding style
%DTC
%DTC ; SF/XAK - DATE/TIME OPERATIONS ;1/16/92 11:36 AM
;;19.0;VA FileMan;;Jul 14, 1992
D I 'X1!'X2 S X="" Q
S X=X1 D H S X1=%H,X=X2,X2=%Y+1 D H S X=X1-%H,%Y=%Y+1&X2
K %H,X1,X2 Q
;
C S X=X1 Q:'X D H S %H=%H+X2 D YMD S:$P(X1,".",2) X=X_"."_$P(X1,".",2)
K X1,X2 Q
S S %=%#60/100+(%#3600\60)/100+(%\3600)/100 Q
;
H I X<1410000 S %H=0,%Y=-1 Q
S %Y=$E(X,1,3),%M=$E(X,4,5),%D=$E(X,6,7)
S %T=$E(X_0,9,10)*60+$E(X_"000",11,12)*60+$E(X_"00000",13,14)
TOH S
%H=%M>2&'(%Y#4)+$P("^31^59^90^120^151^181^212^243^273^304^334","^",%M)+%D
S %='%M!'%D,%Y=%Y-141,%H=%H+(%Y*365)+(%Y\4)-(%Y>59)+%,%Y=$S(%:-
1,1:%H+4#7)
K %M,%D,% Q
;

thread over?

36 Name: 36 BITS FOREVER : 2007-02-15 03:59 ID:Heaven

TECO called and said to tell you copycats to go suck eggs.

37 Name: #!/usr/bin/anonymous : 2007-02-15 13:29 ID:Heaven

>>36 bits

Turning called and &c &c.

38 Name: #!/usr/bin/anonymous : 2007-02-15 16:19 ID:Heaven

Or rather, Turing. I spel gud.

39 Name: #!/usr/bin/anonymous : 2007-02-21 08:16 ID:Heaven

How should I do to make a loop in unlambda?

40 Name: #!/usr/bin/anonymous : 2007-03-10 04:13 ID:ATMDVxRe

I found a cool blog site with nice accessible introductions to esolangs:

http://scienceblogs.com/goodmath/goodmath/programming/pathological_programming/

41 Name: #!/usr/bin/anonymous : 2007-03-10 12:28 ID:Heaven

> nice accessible introductions to esolangs

That seems inappropriate!

42 Name: #!/usr/bin/anonymous : 2007-03-10 14:51 ID:ATMDVxRe

Well, esolangs have this "image" that they're about pain and masochism, but I rather prefer the mind-stretching quality of them. You're exposed to things you would never think of.

43 Post deleted.

44 Name: SHILLER : 2017-03-14 12:33 ID:d6KkahGl

.....::::;;;;;/⌒)
..::;;;⊆.==卍|_
...:::;;;; ・∀・)
∬;;__つ/ ̄ ̄ ̄/__ I made a /prog/. http://42chan.org
旦 \/Win2000/

SHILLING SHILLING SHILLING SHILLING SHILLING

45 Name: #!/usr/bin/anonymous : 2017-03-18 10:48 ID:AgKmTw9h

>>44
5 shillings! I'm rich!

46 Name: #!/usr/bin/anonymous : 2017-05-23 00:36 ID:5GQ8Ujkt

>>44
Apparently your website isn't going to be available for another 24 hours.

47 Name: #!/usr/bin/anonymous : 2017-09-06 20:07 ID:Heaven

>>44
Your website seems to have had its domain taken over.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: