Azin
Azin is going to be a statically typed systems programming, it just started the designing process. It is quite Interesting.
What about Rux?
Me and another 5 people that were the core contributors/maintainers of Rux (pascalecu, zapaxe, alien, twlve, bryson) left Rux, and we teamed up to make a new language, called Azin.
Current State
it is too early for me, to provide many details, because I don't even know them myself. But we did settle down on the functions and variable declaration.
Variable declaration
var x = 5;The type is inferred to by int and x is immutable by default.
var x: int = 5;Type is int, x is immutable by default
var mut x = 5;type is Inferred to be an int, and x is mutable.
var mut x: int = 5;x is int and mutable
Functions
fn main: int do
return 1;
endYou might be wondering: "Where are the parentheses???". We decided to make zero argument functions with no parens. This is how you call them:
fn version: string do
return "0.1.2";
end
fn main: int do
var x: string = version; // x is "0.1.2"
return 0;
endThis is a function with arguments:
fn add(a: int, b: int): int do
return a + b;
endThis may get outdated quickly, it's best to check the syntax proposals in the docs
Thanks for stopping by.