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 / seed / omc / tests / struct-bool / cases.tsv
| 1 | # cases for seed/omc/tests/struct-bool, run by check.sh. Fields are separated by one TAB: |
| 2 | # name expect twin kind |
| 3 | # name: NAME.om in this directory. expect: the exit status of the compiled program, worked out by |
| 4 | # hand from the program text (the notes in each file give the sum). Every listed form is admitted |
| 5 | # by the struct-field grammar and must execute; no refusal is accepted as a substitute. |
| 6 | # twin: "yes" when the program has a uchar twin (bool -> uchar, true -> 1, false -> 0) that the |
| 7 | # current compiler runs correctly and must give the same status. That is the control showing the |
| 8 | # expected value and the program are valid and that only the bool field is at fault. "no" when the |
| 9 | # program uses a bool function value or a bool local, which a uchar field cannot hold. |
| 10 | report 0 yes init |
| 11 | init_true 15 yes init-get |
| 12 | init_false 25 yes init-get |
| 13 | only_field 7 yes init-get-put |
| 14 | put_flip 16 yes get-put |
| 15 | neighbours 87 yes neighbours |
| 16 | adjacent 6 yes neighbours |
| 17 | param_edit 7 yes parameter |
| 18 | param_view 53 yes parameter |
| 19 | loop_toggle 31 yes get-put-loop |
| 20 | array_fields 45 yes arrays |
| 21 | trap_index 103 yes arrays-trap |
| 22 | func_value 7 no function-value |
| 23 | local_value 7 no local-value |
| 24 | array_bool 5 no arrays |