omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / tests / fixtures / text_program.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 |