INTERCAL - programming for ubergeeks

Whatever...

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

INTERCAL - programming for ubergeeks

Post by Rasheed »

I've encountered a weird programming language called INTERCAL:
The full name of the compiler is "Compiler Language With No Pronounceable Acronym", which is, for obvious reasons, abbreviated "INTERCAL".
The language designed to be Turing-complete but as fundamentally unlike any existing language as possible. Expressions that look like line noise. Control constructs that will make you gasp, make you laugh, and possibly make you hurl. Data structures? We don't need no steenking data structures!
Alexander Garrett wrote a paper on INTERCAL for his Spring 1997 Programming Languages: Theory and Design class. Alexander writes:
The obvious choice was INTERCAL (I'm still quite surprised that I'm the only one who picked it -- most people did Java??). Anyway, it was not favourably received...when [the professor] handed it back, he said, "Ah. I see you're someone with a sense of humour. Unfortunately for you, I'm not."
It is clearly a programming language for techno-masochists.

More info on: http://www.catb.org/~esr/intercal/
INTERCAL manual wrote:Sample Program

Shown below is a relatively simple INTERCAL program which will read in 32-bit unsigned integers, treat them as signed, 2’s-complement numbers, and print out their absolute values. The program exits if the absolute value is zero. Note in particular the inversion routine (statements 6 through 14), which could be greatly simplified if the subroutine library (see section 7) were used.

A more detailed analysis of a program is made in section 8 of this manual.

Image
My brain hurts even looking at that code. This must be the biggest parody on programming languages (and the alpha geeks who use those) ever.

Please, take all this with a train load of salt. ;) ;)
User avatar
Captain Jack
Posts: 37
Joined: Tue Feb 06, 2007 2:11 pm
Location: Indianapolis, IN
Contact:

Post by Captain Jack »

Cool... looks kinda like FORTRAN on an acid trip. :lol:
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Post by jahnocli »

Wasn't there some "Californian Basic" developed a long time ago where you could write "Like, do me a loop, dude" or whatever!? (I'm stretching my memory banks here...) Although, not knowing what a memory bank looks like, I wouldn't be able to identify a stretched one anyway...*slinks away*
You can't have everything. Where would you put it?
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

I have in desperation, writen "PLEASE" in my functions.

It never works in any language.

-vern
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Here's another hilarious link for programmers:

How to shoot yourself in the foot in any programming language

If you have used some of these programming languages, you surely recognize the lingo and the humor behind the statements.
Post Reply