Simple
A focused language and integrated toolchain keep writing, building and sharing applications direct.
Modern native language
Silex is a simple, modern language for games and native applications, with modules, packages and native compilation built in.
func answer() int {
return 40 + 2
}
func main() {
print(answer())
}
A focused language and integrated toolchain keep writing, building and sharing applications direct.
Clear ownership, automatic lifetimes and deterministic cleanup help prevent common resource errors.
Silex compiles directly to native applications and is designed for performance-sensitive games and software.
Start here
The standalone compiler does not require Zig or Git on the developer machine.
curl -fsSL https://raw.githubusercontent.com/Matanek/Silex/main/install.sh | sh
curl -fsSL https://raw.githubusercontent.com/Matanek/Silex/main/install.sh | sh
irm https://raw.githubusercontent.com/Matanek/Silex/main/install.ps1 | iex
Next steps
One setup command, two official packages, and your Silex source is ready to run.
$ silex setup
$ silex install STD
$ silex install GFX
$ silex run Main.sx
Official packages
The first registry contains the standard package and the graphical application stack.