We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

WhimsyScript

From Esolang
Jump to navigation Jump to search

WhimsyScript

Overview

WhimsyScript is an esoteric programming language designed to bring a touch of magic and whimsy to coding. Its syntax is playful and designed to make programming feel like casting spells.

Basic Commands

  • `*twinkle*` - Start of the program
  • `*shine*` - Print command
  • `*sparkle*` - Addition
  • `*glisten*` - Subtraction
  • `*glow*` - Loop
  • `*wink*` - End of the program

Example Programs

Hello World

*twinkle*
*shine* "Hello, World!"
*wink*
 

Addition

*twinkle*
*shine* 4 *sparkle* 3
*wink*
 

Looping

*twinkle*
*glow* 3
  *shine* "Looping!"
*wink*
 

WhimsyScript aims to make programming an enchanting experience, blending creativity with code. CodePhantom (talk)