1. Home
  2. /
  3. Whitespace
  4. /
  5. Addition

Addition - Whitespace Typing CST Test

Loading…

Addition — Whitespace Code

Adds the top two numbers of the stack.

TSSSL  // Add top two numbers

Whitespace Language Guide

Whitespace is an esoteric programming language that uses only spaces, tabs, and linefeeds as syntax. All non-whitespace characters are ignored, making programs invisible to the casual observer.

Primary Use Cases

  • ▸Code obfuscation and stealth programs
  • ▸Esolang research and experimentation
  • ▸Interpreter-building demonstrations
  • ▸Educational stack-based execution examples
  • ▸Novelty programming challenges

Notable Features

  • ▸Only whitespace characters have meaning
  • ▸Stack-based instruction set
  • ▸Heap access for memory operations
  • ▸Visible characters are ignored
  • ▸Fully Turing-complete despite minimalism

Origin & Creator

Whitespace was created by Edwin Brady and Chris Morris and released on April Fool’s Day in 2003.

Industrial Note

Whitespace is used in esolang communities, obfuscation contests, security demonstrations, and teaching how interpreters parse tokens.

More Whitespace Typing Exercises

Hello World in WhitespaceWhitespace Push NumberWhitespace Duplicate TopWhitespace Swap Top TwoWhitespace SubtractionWhitespace Print CharacterWhitespace Label and JumpWhitespace Conditional JumpWhitespace End Program

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher