For faster navigation, this Iframe is preloading the Wikiwand page for INTERCAL.

INTERCAL

Don Woods, den ene af de to skabere af INTERCAL, i 2010
Jim Lyon, den anden skaber af INTERCAL, i 2005

Compiler Language With No Pronounceable Acronym, forkortet INTERCAL, er et esoterisk programmeringssprog, der er skabt som en parodi i 1972 af to studerende ved Princeton University, Don Woods og James M. Lyon. Programmeringssproget parodierer forskellige af datidens programmeringssprog[1] med målet at have en kryptisk og overflødig syntaks.

Hello, world!

[redigér | rediger kildetekst]

Dette er en udgave af 'Hello world'-programmet, implementeret i INTERCAL:

DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #234
DO ,1 SUB #2 <- #112
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #214
PLEASE READ OUT ,1
PLEASE GIVE UP

Som sammenligning ville dette program se således ud i Ruby:

puts 'Hello, world!'
  1. ^ "The A-Z of Programming Languages: INTERCAL". Techworld. 2008-07-04. Hentet 2012-03-10.

Eksterne henvisninger

[redigér | rediger kildetekst]
ProgrammeringSpire
Denne artikel om datalogi eller et datalogi-relateret emne er en spire som bør udbygges. Du er velkommen til at hjælpe Wikipedia ved at udvide den.
{{bottomLinkPreText}} {{bottomLinkText}}
INTERCAL
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?