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
// Test: Struct-related errors
// Expected: Should show "Type not found" and "Field not found"

fn main() {
    // Test 1: Undefined struct
    let p = UndefinedStruct { x: 10, y: 20 }
    
    // Test 2: Undefined field
    let point = Point { x: 1, y: 2 }
    println!("{}", point.z)  // Error: no field `z`
}

struct Point {
    x: int,
    y: int
}