Zyra is a fast, expressive, statically-typed compiled programming language designed to combine the performance and memory safety of Rust with the simplicity and developer velocity of Go.
It features a 100% self-hosted compiler written in pure Zyra that compiles down to both native C and Rust executables as well as JavaScript ESM modules.
Documentation: https://zyra-lang.dev Repository: https://github.com/AndreaPallotta/zyra
Download and run ZyraSetup.exe from the latest release:
Verify installation:
zyra help
Install using the terminal one-line script:
curl -fsSL https://zyra-lang.dev/get | bash
Alternatively, download and install the Debian package:
sudo dpkg -i zyra_1.0.0_amd64.deb
Install the official Zyra Programming Language extension from the VS Code Marketplace or install manually via VSIX:
code --install-extension zyra-vscode-1.0.2.vsix
Initialize a new project:
zyra init my_app
Compile and run a Zyra file natively:
zyra run src/main.zy
Compile to native binary without running:
zyra build src/main.zy --target rust --native
Compile to JavaScript ESM module:
zyra build src/main.zy --target js
Launch the interactive REPL shell:
zyra repl
struct User {
id: Int
name: String
}
def main(): Int {
const user = User { id: 1, name: "Andrea" }
print("Hello, {user.name}!")
return 0
}
MIT License.