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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// TDD TEST: HashMap usage in functions (from navmesh.wj line 265-266)
use std::collections::HashMap

fn test_hashmap() -> Vec<u32> {
    let mut came_from: HashMap<u32, u32> = HashMap::new()
    let mut g_score: HashMap<u32, f32> = HashMap::new()
    
    came_from.insert(1, 2)
    g_score.insert(1, 1.0)
    
    Vec::new()
}

fn main() {
    let result = test_hashmap()
    println("✅ HashMap in functions works!")
}