1. Home
  2. /
  3. Intercal
  4. /
  5. Conditional Example

Conditional Example - Intercal Typing CST Test

Loading…

Conditional Example — Intercal Code

Executes code conditionally using COME FROM.

DO ,1 <- #10
(LOOP) PLEASE DO ,1 <- ,1 - #1
(END) PLEASE COME FROM (LOOP) NEXT
PLEASE GIVE UP

Intercal Language Guide

INTERCAL (Compiler Language With No Pronounceable Acronym) is an esoteric programming language designed to be as different from conventional languages as possible, often intentionally obscure and humorous.

Primary Use Cases

  • ▸Esoteric language experimentation
  • ▸Humorous programming challenges
  • ▸Teaching unconventional programming concepts
  • ▸Code obfuscation contests
  • ▸Studying Turing-completeness in non-standard languages

Notable Features

  • ▸Unusual syntax including COME FROM, . (dot) operators, and unconventional keywords
  • ▸Turing-complete despite bizarre design
  • ▸Strongly emphasizes programmer confusion for humor and challenge
  • ▸No resemblance to conventional programming languages
  • ▸Memory and control flow manipulation in non-intuitive ways

Origin & Creator

INTERCAL was created in 1972 by Don Woods and James M. Lyon at Princeton University as a satirical take on programming language design.

Industrial Note

INTERCAL is primarily used for entertainment, programming jokes, esolang experiments, and educational exercises in thinking differently about programming constructs.

More Intercal Typing Exercises

Hello World in INTERCALINTERCAL Simple AdditionINTERCAL Count to 5INTERCAL Hello NameINTERCAL Bitwise NOT ExampleINTERCAL Swap VariablesINTERCAL Multiply by Repeated AdditionINTERCAL Print Digits 0-9INTERCAL Reverse Number

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher