Localized V2 rewrite for this language is in progress. Showing English-first content for now.

Ξεκινώντας

Εγκαταστήστε τον compiler, τρέξτε το πρώτο σας πρόγραμμα .sio και μάθετε τα βασικά.

Ξεκινώντας

Τα προγράμματα Sounio είναι αρχεία .sio που γίνονται compile και run με τον compiler souc.

1) Εγκατάσταση souc

Build από πηγαίο κώδικα (προτείνεται)

git clone https://github.com/sounio-lang/sounio.git
cd sounio

# Build the compiler
cargo build -p souc --release

# Run it from the repo
./target/release/souc --version

Προαιρετικό: βάλτε το souc στο PATH

sudo cp ./target/release/souc /usr/local/bin/souc

2) Hello World

Δημιουργήστε hello.sio:

fn main() with IO {
    println("Hello, Sounio!")
}

Κάντε type-check και τρέξτε το:

souc check hello.sio
souc run hello.sio

3) Επόμενα Βήματα