Introduction to WhyPy
Welcome to WhyPy, a programming language that is … idk man maybe it is the path of mystical computing.
Why WhyPy?
WhyPy was born from a simple question: “Why not make programming more philosophically confusing?” While other languages focus on being practical, WhyPy focuses on being existential. IDK what I am talking about but here’s what makes WhyPy unique:
- Mystical Syntax: Replace mundane keywords with arcane incantations
- Philosophical Types: Where booleans become truth values of ‘verity’ and ‘fallacy’
- Ritual-Based Functions: Don’t just call functions, perform mystical rituals
- Sealed Statements: Every statement must be sealed to contain its mystical energy
Core Philosophy
WhyPy embraces these fundamental principles:
- Question Everything: Even the most basic programming concepts deserve philosophical scrutiny
- Embrace Obscurity: Clear code is overrated; mystical code is enlightening
- Seal Your Statements: Unsealed statements leak mystical energy
- Think in Rituals: Functions are more than mere abstractions; they are mystical ceremonies
A Taste of WhyPy
Here’s a glimpse into the mystical world of WhyPy:
// Traditional programming:let x = 5;let y = 10;let sum = x + y;let greeting = "Hello, World";
// WhyPy's mystical approach:manifest x with 5 sealmanifest y with 10 sealmanifest sum with x augments y sealmanifest greeting with "Hail, Seeker" sealFeatures
- Esoteric Keywords: ‘manifest’ instead of ‘let’, ‘unfold’ instead of ’{’, ‘seal’ instead of ’;’
- Mystical Operators: ‘augments’ for addition, ‘diminishes’ for subtraction
- Truth Values: ‘verity’ and ‘fallacy’ instead of ‘true’ and ‘false’
- Ritual Definitions: Functions are defined as ‘rune’ and parameters are bound with ‘knot’
- Sacred Scrolls: Strings are treated as mystical scrolls containing ancient wisdom
Next Steps
Ready to begin your mystical journey?
- Installation Guide - Summon WhyPy into your development realm
- Quick Start Guide - Cast your first mystical programs
- Language Guide - Master the arcane syntax