Skip to main content

Introduction

Overview

A modern, beginner-friendly language that combines power, performance, and simplicity.

Features

  • 🛡️ statically typed
  • 🔢 low level language
  • 🚀 targeted for high performance applications
  • 🤝 open source

Syntax

Functions

fn main(argc: type, argv: type): i32 {
...
}

Variables

(var | const) <ident> [: <type>] = <expr>;

var a = 2323232323; // type deduction
const b = "232322211jfj"; // same

var c: i64 = 2323232121432323; // explicit

Conditionals

if <expr> {
...
} else { ... }

Loops

while <expr> {
...
}

Import

// local file
import dir::mod::symbol;

// global package
import package::module::symbol;

import package::module::symbol as stuff;

import package::module::{ sym1, sym2 as other_stuff };

Stay informed