Welcome to Minilux
![]()
Minilux is a minimal programming language designed for simplicity. Written in Rust, it provides an easy-to-understand syntax perfect for educational purposes or everyday tasks.
Featuresβ
- π Simple Syntax - Easy to learn, PHP-like variable syntax with
$ - π¦ Dynamic Typing - Support for integers, strings, and arrays
- π Control Flow - if/elseif/else statements and while loops
- β‘ Built-in Functions - printf, array manipulation, sockets, and more
- π Shell Integration - Execute system commands directly
- π Network Support - Built-in TCP socket operations
- π οΈ User-Defined Functions - Create your own functions
- β±οΈ Sleep Function - Add delays to your scripts
Quick Exampleβ
#!/usr/bin/env minilux
# Simple greeting script
$name = "World"
printf("Hello, ", $name)
# Calculate factorial
$n = 5
$result = 1
while ($n > 0) {
$result = $result * $n
dec $n - 1
}
printf("Factorial: ", $result)
Why Minilux?β
Minilux was created as a learning project to understand:
- Language design and implementation
- Lexical analysis and parsing
- Interpreter construction
- Rust programming
It's perfect for:
- π Learning about programming language design
- π Teaching basic programming concepts
- βοΈ Simple automation scripts
- π§ͺ Experimental projects
Next Stepsβ
- Installation - Get Minilux running on your system
- Language Reference - Learn the complete language syntax
- Examples - See Minilux in action
Author: Alexia Michelle <alexia@minilux.org>
License: MPL 2.0
Repository: github.com/minilux-org/minilux