INTERCAL

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
|released=1972
 
|released=1972
 
}}
 
}}
 
+
'''INTERCAL''' is a programming language which was created in 1972 as a parody. Its constructs are designed to be maximally obtuse and incomprehensible, with statements such as '''PLEASE GIVE UP''' (which terminates the program; the "PLEASE" part is optional on any statement, but failing to use it enough causes an impoliteness error), '''WRITE IN''' (which accepts input), and '''READ OUT''' (which generates output). Later versions added the infamous '''COME FROM''' statement, the inverse of the more common '''GO TO''' (which was "considered harmful" in a [http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html famous computer science paper]).
'''INTERCAL''' is a programming language which was created in 1972 as a parody. Its constructs are designed to be maximally obtuse and incomprehensible, with statements such as '''PLEASE GIVE UP''' (which terminates the program), '''WRITE IN''' (which accepts input), and '''READ OUT''' (which generates output). Later versions added the infamous '''COME FROM''' statement, the inverse of the more common '''GO TO''' (which was "considered harmful" in a [http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html famous computer science paper]).
+
  
 
In the original version, all numeric input was done with spelled-out numbers, while all numeric output was in [[Roman numerals]]. A later variant version used ternary (base 3).
 
In the original version, all numeric input was done with spelled-out numbers, while all numeric output was in [[Roman numerals]]. A later variant version used ternary (base 3).

Revision as of 11:52, 25 April 2014

File Format
Name INTERCAL
Ontology
Released 1972

INTERCAL is a programming language which was created in 1972 as a parody. Its constructs are designed to be maximally obtuse and incomprehensible, with statements such as PLEASE GIVE UP (which terminates the program; the "PLEASE" part is optional on any statement, but failing to use it enough causes an impoliteness error), WRITE IN (which accepts input), and READ OUT (which generates output). Later versions added the infamous COME FROM statement, the inverse of the more common GO TO (which was "considered harmful" in a famous computer science paper).

In the original version, all numeric input was done with spelled-out numbers, while all numeric output was in Roman numerals. A later variant version used ternary (base 3).

The language is actually Turing-complete, and hence capable of implementing any algorithm, though the programmer might be driven into advanced stages of insanity from the attempt.

References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox