interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / bob / bob.om

12 lines · 646 bytes Raw Blame History
1note Exercism-style exercise "bob": https://exercism.org/tracks/python/exercises/bob
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note response writes Bob's reply to s into o and returns its length. Silence (only spaces, tabs,
4note CR, LF): "Fine. Be that way!". A yelled question: "Calm down, I know what I'm doing!". Yelling
5note (some letter, no lower-case letter): "Whoa, chill out!". A question (last non-space byte is
6note "?"): "Sure.". Anything else: "Whatever.".
7note Check it with: sh exercise.sh exercises/bob
8om2
9fn response s view uchar * o edit uchar * to ulong
10note replace this line with your solution
11trap 13
12end