Viyal is a fast, dynamically typed, bytecode-compiled programming language featuring sound null safety, hot reloading, and built-in structured concurrency.
Designed for developer happiness and raw performance.
Powered by a custom bytecode compiler and stack-based Virtual Machine written in Rust.
Eliminate NullPointerExceptions at runtime with a strict, flow-sensitive type checker.
Instantly see your changes without restarting the state using the built-in watcher.
Write safe concurrent code using lightweight tasks and channels, inspired by Go and Kotlin.
If you know C, JS, or Dart, you'll feel right at home.
void main() {
print("Welcome to Viyal!");
print(add(10, 20));
}
fn add(a, b) {
return a + b;
}
let name = "Viyal";
let version = 0.1;
let is_cool = true;
let arr = [1, 2, 3];
let map = {"key": "value"};
print(name + " " + string(version));
void main() {
// Range loop
for i in 0..5 {
print(i);
}
// Iterating over arrays
let arr = [10, 20, 30];
for x in arr {
print(x);
}
}
Download the standalone Windows binary and get started in seconds. No dependencies required.
Download v0.1.0 (Windows)