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