Skip to content

main.aug โ€‹

A million greetings ยท Source and specification

Files in this project

Code โ€‹

aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
greetings = 0
while greetings < 1000000:
    print(value="Hello, August! ๐Ÿ‘‹")
    greetings = greetings + 1
aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
greetings = 0
while greetings < 1000000 {
    print(value="Hello, August! ๐Ÿ‘‹")
    greetings = greetings + 1
}

Compiled specification โ€‹

Interactions and sequences

Startup โ€‹

It sets greetings to 0. While greetings is less than 1000000, it prints "Hello, August! ๐Ÿ‘‹"; then it increases greetings by 1. source

Built-in operations follow the language reference.

Last updated:

The world runs on language