Esoteric programming language

A place to discuss the science of computers and programs, from algorithms to computability.

Formal proofs preferred.

Moderators: phlip, Moderators General, Prelates

User avatar
3.14chan
Posts: 38
Joined: Sat Jun 06, 2009 10:38 pm UTC
Location: Internet
Contact:

Esoteric programming language

Postby 3.14chan » Sat Jun 06, 2009 11:18 pm UTC

How about one xkcd comic about esoteric programming languages (like Lolcode, Piet and Whitespace)?
Image
"What haven't science done?"

User avatar
3.14chan
Posts: 38
Joined: Sat Jun 06, 2009 10:38 pm UTC
Location: Internet
Contact:

Re: Esoteric programming language

Postby 3.14chan » Sun Jun 07, 2009 1:42 am UTC

Ok, I will give some examples.

Hello World in LOLCODE

Code: Select all

HAI   
CAN HAS STDIO?   
VISIBLE "HAI WORLD!"   
KTHXBYE


And in Cheff

Code: Select all

 Hello World Souffle.
 
 Ingredients.
 72 g haricot beans
 101 eggs
 108 g lard
 111 cups oil
 32 zucchinis
 119 ml water
 114 g red salmon
 100 g dijon mustard
 33 potatoes
 
 Method.
 Put potatoes into the mixing bowl.
 Put dijon mustard into the mixing bowl.
 Put lard into the mixing bowl.
 Put red salmon into the mixing bowl.
 Put oil into the mixing bowl.
 Put water into the mixing bowl.
 Put zucchinis into the mixing bowl.
 Put oil into the mixing bowl.
 Put lard into the mixing bowl.
 Put lard into the mixing bowl.
 Put eggs into the mixing bowl.
 Put haricot beans into the mixing bowl.
 Liquefy contents of the mixing bowl.
 Pour contents of the mixing bowl into the baking dish.
 
 Serves 1.
Last edited by 3.14chan on Sun Jun 07, 2009 2:28 am UTC, edited 1 time in total.
Image
"What haven't science done?"

sje46
Posts: 4729
Joined: Wed May 14, 2008 4:41 am UTC
Location: New Hampshire

Re: Esoteric programming language

Postby sje46 » Sun Jun 07, 2009 1:47 am UTC

You can't just . .suggest things.
Besides, that would be in site/forum issues.
General_Norris: Taking pride in your nation is taking pride in the division of humanity.
Pirate.Bondage: Let's get married. Right now.

User avatar
Berengal
Superabacus Mystic of the First Rank
Posts: 2707
Joined: Thu May 24, 2007 5:51 am UTC
Location: Bergen, Norway
Contact:

Re: Esoteric programming language

Postby Berengal » Sun Jun 07, 2009 1:58 am UTC

Also, your last example is in Chef, not whitespace. You could argue it's also in whitespace, but I think it'd be a syntax error, or if it isn't, it wouldn't do anything interesting.
It is practically impossible to teach good programming to students who are motivated by money: As potential programmers they are mentally mutilated beyond hope of regeneration.

User avatar
3.14chan
Posts: 38
Joined: Sat Jun 06, 2009 10:38 pm UTC
Location: Internet
Contact:

Re: Esoteric programming language

Postby 3.14chan » Sun Jun 07, 2009 2:30 am UTC

sje46
Yeah, just realized that too...

Sorry

Berengal

I was going to post whitespace but changed my mind and forgot to change it!
Image
"What haven't science done?"

User avatar
quintopia
Posts: 2906
Joined: Fri Nov 17, 2006 2:53 am UTC
Location: atlanta, ga

Re: Esoteric programming language

Postby quintopia » Sun Jun 07, 2009 3:33 am UTC

Bitwise Cyclic Tag is probably best considered an esoteric programming language. If you do, then the xkcd comic about rocks includes an oblique reference to an esoteric programming language (as, in it, rule 110 is presumably being used to emulate a BCT)

Agent_Irons
Posts: 213
Joined: Wed Sep 10, 2008 3:54 am UTC

Re: Esoteric programming language

Postby Agent_Irons » Wed Jun 10, 2009 6:13 pm UTC

quintopia wrote:Bitwise Cyclic Tag is probably best considered an esoteric programming language. If you do, then the xkcd comic about rocks includes an oblique reference to an esoteric programming language (as, in it, rule 110 is presumably being used to emulate a BCT)

If anyone successfully writes a program for that wolfram 2,3 cellular automaton that was recently proven turing-complete, they would win an internet. That trumps even brainfuck or OIC as the most inconvenient programming language.

User avatar
quintopia
Posts: 2906
Joined: Fri Nov 17, 2006 2:53 am UTC
Location: atlanta, ga

Re: Esoteric programming language

Postby quintopia » Thu Jun 11, 2009 1:52 am UTC

Agent_Irons wrote:
quintopia wrote:Bitwise Cyclic Tag is probably best considered an esoteric programming language. If you do, then the xkcd comic about rocks includes an oblique reference to an esoteric programming language (as, in it, rule 110 is presumably being used to emulate a BCT)

If anyone successfully writes a program for that wolfram 2,3 cellular automaton that was recently proven turing-complete, they would win an internet. That trumps even brainfuck or OIC as the most inconvenient programming language.


Turing-complete under certain assumptions that some people consider a stretch, but, in any case, the real trick is writing a compiler for it, since it is fairly well specified how the machine actually does computations.


Return to “Computer Science”

Who is online

Users browsing this forum: No registered users and 3 guests