interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / tests / fixtures / text_program.om

8 lines · 243 bytes Raw Blame History
1note text bytes with every escape are written to stdout and read back with get and len
2text t "a\tb\\c\"d\ne"
3global g uchar 16
4fn main to int
5n = write int 1 t ulong 0 len t
6put g 0 get t 2
7ret add int get t 0 int add len t ulong get g 0
8end