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
// TDD: Method with its own type parameter (not from impl)
// Tests: impl Scene { pub fn add_entity<T>(self, entity: T) -> i64 }
// The T is on the METHOD, not the impl block

pub struct Scene {
    count: i64,
}

impl Scene {
    pub fn add_entity<T>(self, entity: T) -> i64 {
        self.count
    }
}