INTERCAL
Dan Tobias (Talk | contribs) (→References) |
Dan Tobias (Talk | contribs) |
||
(2 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 | |released=1972 | ||
}} | }} | ||
Line 9: | Line 10: | ||
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 == | ||
− | * [ | + | * [[Wikipedia:INTERCAL|INTERCAL (Wikipedia)]] |
* [http://www.catb.org/~esr/intercal/ Intercal Resources Page] | * [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://www.muppetlabs.com/~breadbox/intercal-man/ INTERCAL Manual] | ||
* [http://articles.mongueurs.net/spoofathon/INTERCAL.html Why INTERCAL is better than Perl] | * [http://articles.mongueurs.net/spoofathon/INTERCAL.html Why INTERCAL is better than Perl] | ||
− | [[Category: | + | [[Category:Humor]] |
Latest revision as of 23:05, 6 June 2017
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.