Skip to content

Installation

WhyPy requires only Python 3.6 or higher to channel its mystical energies. No additional dependencies are needed.

Quick Installation

  1. Clone the mystical repository:
Terminal window
git clone https://github.com/sambuaneesh/why-py.git
cd why-py
  1. Verify the installation by invoking the REPL:
Terminal window
python repl.py

You should see the mystical greeting:

Welcome to the WhyPy REPL - Your Portal to Mystical Computing
Inscribe your incantations below. Multi-line rituals are supported.
Use the sacred Ctrl+D to close the tome, or Ctrl+C to cancel the current incantation.
└─⚡

Running WhyPy Programs

To run a WhyPy program from a file:

Terminal window
python repl.py < your_mystical_program.why

Next Steps

Now that you’ve summoned WhyPy, you’re ready to:

  1. Cast your first spells in the Quick Start guide
  2. Study the mystical syntax
  3. Explore example incantations