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!

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!'

Referencer

  1. ^ "The A-Z of Programming Languages: INTERCAL". Techworld. 2008-07-04. Hentet 2012-03-10.

Eksterne henvisninger

Spire
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.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.