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 / text.om
| 1 | note text bytes with every escape are written to stdout and read back with get and len |
| 2 | text t "a\tb\\c\"d\ne" |
| 3 | global g uchar 16 |
| 4 | fn main to int |
| 5 | n = write int 1 t ulong 0 len t |
| 6 | put g 0 get t 2 |
| 7 | ret add int get t 0 int add len t ulong get g 0 |
| 8 | end |