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 file for doc comments inside impl blocks

struct Point {
    x: float,
    y: float,
}

impl Point {
    /// Creates a new Point at the origin.
    fn zero() -> Point {
        Point { x: 0.0, y: 0.0 }
    }

    /// Creates a new Point with the given coordinates.
    fn new(x: float, y: float) -> Point {
        Point { x: x, y: y }
    }

    /// Calculates the distance from the origin.
    fn distance_from_origin(self) -> float {
        (self.x * self.x + self.y * self.y).sqrt()
    }
}