My programA friend of mine challenged me to write an actually useful program in INTERCAL. If you are lucky enough to never have heard of it, below is a little introduction.
Of course I took the challenge and wrote a little intercal program: [labyrinth.i] (install INTERCAL with apt-get install intercal, compile with ick labyrinth.i and execute with ./labyrinth (INTERCAL code can only access stdin and stdout so it is perfectly safe)). I am willing to give you a commented version of the source code, but to keep up with INTERCAL's tradtions, you have to send me an email which includes the word "PLEASE" and "wimp".
I also attempted to make a BNF diagram of C-INTERCAL's syntax: BNF Notation (hand drawn), (as tex), (as pdf)
IntroductionINTERCAL is a programming language which essentially does everything a good programming language is not supposed to do to make programming as much an unneccessary pain as possible. To give examples:
I am not responsible for the content of other pages that this page links to, nor do such pages necessarily agree with my own opinion.