Skip to content

Ard Language

A Really Dope Language

Ard is a general-purpose programming language designed for legibility, simplicity, and type-safety. It combines elements from JavaScript, Swift, Go, and Rust.

Readable

Ard code should be easy to read and understand with clear, expressive syntax designed for readability.

Simple

There should be one obvious way to do things. Ard follows Go’s philosophy for left-to-right readability.

Safe

The compiler catches type errors and there are no unexpected runtime failures.

Reliable

Built on Go’s runtime, making it fast and efficient.

use ard/io
fn main() {
mut numbers: [Int] = []
io::print("numbers.size = {numbers.size()}")
io::print("adding numbers from 0 to 10")
for i in 0..10 {
numbers.push(i)
}
io::print("numbers.size = {numbers.size()}")
for n in numbers {
io::print(n)
}
io::print("7th element = {numbers.at(6)}")
}

Read the introduction guide to learn more.