Skip to content

adebola-io/whirlwind

Repository files navigation

THIS PROJECT IS 55% INCOMPLETE. LOOK AWAY.

Whirlwind Icon

Whirlwind.

Whirlwind is an open-source, statically-typed programming language for quickly and easily writing maintainable software. It is designed to be practical, easy to read and efficient.

Documentation 📑

The Whirlwind website is still pending. For more information relating to the source code, refer to the docs folder.

Features ✨

  • First Class Functions.
  • Static, Nominal Typing System.
  • Support for Generic Programming.
  • Support for Union Types.
  • Inbuilt Testing capabilities.
  • Modular organization.

Syntax 📐

Whirlwind is inspired heavily by the syntax of already existing languages. An example of Whirlwind code is:

/// Function to add two numbers.
function add(a: i32, b: i32) -> i32 {
   return a + b
}

/// Entry to the program.
function main() {
   add(2, 3)
}

Roadmap and Implementation Status 🛠️

To view the planned and implemented features in the development of Whirlwind, please refer to the roadmap.