interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / ng / front / runs / p-longtext.om

17 lines · 510 bytes Raw Blame History
1om2
2note a text with a long name handed to an unsized view parameter, and a long-named unsized parameter handed on
3note (ledger L1143: front-ir did not lower an array name over 8 bytes). Stdout "selector"; status 8.
4text selector_name "selector"
5
6fn count_bytes text_bytes view uchar * to ulong
7ret len text_bytes
8end
9
10fn show_and_count text_bytes view uchar * to ulong
11written_bytes = write 1 text_bytes 0 len text_bytes
12ret count_bytes text_bytes
13end
14
15fn main to int
16ret int show_and_count selector_name
17end