The Dhaad Programming Language

A modern, expressive language designed for clarity, performance, and developer happiness. Built on the principles of guided expression and intentional design.

Why Choose Dhaad?

Dhaad is built on four core principles that make it uniquely powerful and enjoyable to use

Friendly Syntax

Designed with readability and intuition in mind. Dhaad's syntax feels natural and is easy to remember.

Powerful Performance

Compiles to efficient native code with advanced optimizations. Perfect for everything from scripts to high-performance applications.

Safe & Explicit

No hidden behaviors or implicit conversions. Dhaad makes code intentions clear and prevents entire classes of bugs.

Multi-Paradigm

Supports functional, imperative, and reactive programming styles. Use the right approach for each problem.

Experience Dhaad Code

Clean, expressive syntax that makes your intentions clear

#~> Calculate factorial using pattern matching
fDh factorial(n: Int): Int
  = 
    match n:
      case 0 or 1 -> 1
      case _ -> n * factorial(n - 1)
    ;
    [pure];
=> result

#~> Main program
fDh main()
  = 
    result = factorial(5);
    print("Factorial of 5 is: {}", result);
  => =  # Explicit output intent: print to console