interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / hello-world / .meta / example.om

12 lines · 422 bytes Raw Blame History
1note Exercism-style exercise "hello-world": https://exercism.org/tracks/python/exercises/hello-world
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note hello writes the greeting "Hello, World!" into o and returns its length in bytes.
4note Check it with: sh exercise.sh exercises/hello-world
5om2
6text hw "Hello, World!"
7fn hello o edit uchar * to ulong
8for i ulong len hw
9put o i get hw i
10end
11ret len hw
12end