omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / si / rosetta / exercises / scrabble-score / scrabble-score.om
| 1 | note Exercism-style exercise "scrabble-score": https://exercism.org/tracks/python/exercises/scrabble-score |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | note score is the Scrabble score of word, ignoring case: AEIOULNRST 1, DG 2, BCMP 3, FHVWY 4, K 5, |
| 4 | note JX 8, QZ 10. |
| 5 | note Check it with: sh exercise.sh exercises/scrabble-score |
| 6 | om2 |
| 7 | fn score word view uchar * to ulong |
| 8 | note replace this line with your solution |
| 9 | trap 13 |
| 10 | end |