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 Test: Enum variants with String fields should auto-convert &str literals
// Bug: Speaker::NPC("Silas Crane") generates "Silas Crane" (&str) instead of "Silas Crane".to_string()
// Expected: Compiler automatically converts string literals to String for enum variants

pub enum Speaker {
    Player,
    NPC(string),  // Expects owned String
}

pub fn test_enum_string_literal() {
    // String literal should be auto-converted to String
    let speaker = Speaker::NPC("Silas Crane")
    
    match speaker {
        Speaker::Player => assert!(false),
        Speaker::NPC(name) => {
            assert_eq!(name, "Silas Crane")
        }
    }
}

pub enum Message {
    Text(string),
    Error(string),
}

pub fn test_enum_variants_multiple() {
    let msg1 = Message::Text("Hello")
    let msg2 = Message::Error("Failed")
    
    match msg1 {
        Message::Text(s) => assert_eq!(s, "Hello"),
        Message::Error(_) => assert!(false),
    }
}