Skip to main content
Minilux Logo

Minilux

A simple programming language for scripting, automation and much more!

Quick Example

hello.mi — minilux
#!/usr/bin/env minilux

# System call
printf("Current user: ", shell("whoami"))

# variable
$n1=10
$n2=20

# conditional
if ($n1 < $n2) {
printf("n1 is less than n2")
} else {
printf("n1 is not less than n2")
}

# system info:
printf("System information:")
printf(shell("uname -a"))