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 / tests / visor / qualification / semantic.omega-session
| 1 | // Lane 8 semantic identity session: pure, host-independent (no machine/realize output). |
| 2 | 7: u64 |
| 3 | id _ |
| 4 | 07: u64 |
| 5 | id _ |
| 6 | 0x07: u64 |
| 7 | id _ |
| 8 | 0b111: u64 |
| 9 | id _ |
| 10 | 7: u32 |
| 11 | id _ |
| 12 | let x: u64 = 7 |
| 13 | let y: u64 = 11 |
| 14 | x + y |
| 15 | id _ |
| 16 | x+y |
| 17 | id _ |
| 18 | x + /* comment */ y // trailing |
| 19 | id _ |
| 20 | let a: u64 = 7 |
| 21 | let b: u64 = 7 |
| 22 | id a |
| 23 | id b |
| 24 | true |
| 25 | type _ |
| 26 | false |
| 27 | type _ |
| 28 | (7: u32) + (1: u32) |
| 29 | type _ |
| 30 | let m: u64 = 18446744073709551615 |
| 31 | m + (1: u64) |
| 32 | (0: u64) - (1: u64) |
| 33 | (255: u8) + (1: u8) |
| 34 | inspect x |
| 35 | graph x |
| 36 | bindings |