INTERCAL

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|formattype=Languages
 
|formattype=Languages
 
|subcat=Programming Languages
 
|subcat=Programming Languages
 +
|extensions={{ext|i}}
 +
|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). 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).
  
 
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.
 
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.
 +
 +
Some versions (e.g., the Intercal on Interstates web framework) apparently use source code files with a .i extension.
  
 
== References ==
 
== References ==
* [http://en.wikipedia.org/wiki/INTERCAL INTERCAL (Wikipedia)]
+
* [[Wikipedia:INTERCAL|INTERCAL (Wikipedia)]]
 +
* [http://www.catb.org/~esr/intercal/ Intercal Resources Page]
 +
* [http://www.intercaloninterstates.org/ Intercal on Interstates web framework]
 
* [http://rosettacode.org/wiki/99_Bottles_of_Beer/Intercal 99 Bottles of Beer program in INTERCAL]
 
* [http://rosettacode.org/wiki/99_Bottles_of_Beer/Intercal 99 Bottles of Beer program in INTERCAL]
 +
* [http://www.muppetlabs.com/~breadbox/intercal-man/ INTERCAL Manual]
 +
* [http://articles.mongueurs.net/spoofathon/INTERCAL.html Why INTERCAL is better than Perl]
 +
 +
[[Category:Humor]]

Latest revision as of 23:05, 6 June 2017

File Format
Name INTERCAL
Ontology
Extension(s) .i
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.

Some versions (e.g., the Intercal on Interstates web framework) apparently use source code files with a .i extension.

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox