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 + 1aug
// 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 โ
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.