blr-lang 0.1.0

A language implementation that provides type safe dataframes
Documentation
1
2
3
4
5
6
7
let r = {
    location: {x:511.3, y: 514.1, z: 384.8},
              velocity: {x:5.3, y: 9.1, z: 2.8},
};
let add_vec3 = fn (a, b) => {x: a.x + b.x, y: a.y + b.y, z: a.z + b.z};
let move = fn (r) => { location: add_vec3(r.location, r.velocity), velocity: r.velocity};
move(r)