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
// Test: Builder pattern with self-returning methods

pub struct Config {
    pub host: string,
    pub port: int,
    pub timeout: int,
}

impl Config {
    pub fn new() -> Config {
        Config {
            host: "localhost",
            port: 8080,
            timeout: 30,
        }
    }
    
    pub fn host(self, host: string) -> Config {
        Config {
            host,
            port: self.port,
            timeout: self.timeout,
        }
    }
    
    pub fn port(self, port: int) -> Config {
        Config {
            host: self.host,
            port,
            timeout: self.timeout,
        }
    }
}