betadin is a simple programing language for research purposes, written in rust.
```rust
let name1 = "something"; # can be change const name2 = "something"; # cannot be change
fn add(x, y) { return x + y; }
println(add(2, 5)); # prints 7;
let x = 10;
if x >= 10 || true { println("if block"); } else { println("else block"); }
let y = if x == 10 { return "if block"; } else { return "else block"; };
println(y); # prints "if block"
for i in 1..10 { println(i); # prints 1 to 10 }
let x = 0; while x <= 10 { if x == 5 { break; } println(x); # prints 0 to 4 x = x + 1; }
import std::system; println(system::platform());
import std::system::{platform}; println(platform());
println(std::system::platform());
import std::fs;
const content = fs::read_file("path"); # read
println(content.lines()); # prints array of lines println(content.len()); # prints number of chars println(content.lines().len()); # prints number of lines;
fs::writefile("path"); fs::readdir("path"); fs::remove_file("path");
import std::env; const args = env::args(); # getting arguments
for arg in args { println(arg); }
```