windjammer 0.48.0

A simple language inspired by Go, Ruby, and Elixir that transpiles to Rust - 80% of Rust's power with 20% of the complexity
Documentation
// TDD: Type Alias Support
// Windjammer should support Rust-style type aliases

pub type UserId = u32
pub type QuestId = string
pub type Position = (f32, f32)

pub struct User {
    pub id: UserId,
    pub name: string,
}

pub fn get_user_id(user: User) -> UserId {
    user.id
}

pub fn process_quest(quest_id: QuestId) -> string {
    format!("Processing quest: {}", quest_id)
}

fn main() {
    let user = User { id: 42, name: "Alice" }
    let id: UserId = get_user_id(user)
    println!("User ID: {}", id)
    
    let quest: QuestId = "rescue_silas"
    println!("{}", process_quest(quest))
}