Welcome to Duwa

Duwa is a simple programming language that is easy to learn and use. It is designed to be beginner-friendly and fun to use for chichewa speakers.

It is a great language for learning the basics of programming and for building simple applications.

Playground

You can try out Duwa in the playground without installing it.

Installation

Download the prebuilt binaries for your platform from the github releases or follow the intructions for your platform below. Add the binary to your path or run it from the directory where you downloaded it.

  1. Download the Archive

  2. Extract the Archive

    • Right-click the downloaded zip file
    • Select "Extract All..."
    • Choose a destination folder (e.g., C:\Program Files\Duwa)
  3. Add to PATH

    • Open "Edit the system environment variables" from the Start menu
    • Click "Environment Variables..."
    • Under "System variables", find and select "Path", then click "Edit"
    • Click "New" and add the full path to the folder containing duwa.exe (e.g., C:\Program Files\Duwa)
    • Click "OK" to close all windows
  4. Verify Installation

    • Open Command Prompt
    duwa version

Troubleshooting

  • Permission Issues:

    • On Linux/macOS, use sudo if you encounter permission errors
    • On Windows, run Command Prompt or PowerShell as Administrator
  • PATH Not Working:

    • Restart your terminal/command prompt after modifying PATH
    • Verify the path is correctly added

Getting Started

Create a new source file, main.duwa.

Paste the following cool code

lemba("Moni Dziko");

Run you new application

duwa run ./main.duwa