Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Hello World

Ling supports any Unicode identifier. All built-in keywords work in every supported language simultaneously in the same source file.

English

bind start = do {
    print("Hello, World!")
}

Chinese 中文

令 启 = 执 {
    印("你好,世界!")
}

Thai ภาษาไทย

ผูก เริ่ม = ทำ {
    พิมพ์("สวัสดีชาวโลก")
}

Korean 한국어

바인드 시작 = 실행 {
    print("안녕하세요, 세계!")
}

Mixed (all valid simultaneously)

令 启 = 执 {
    若 true {
        印("Hello from 中文!")
    }
    bind x = 42
    println(x)
}