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 / host-fopen.om

12 lines · 220 bytes Raw Blame History
1note Host-only admission/error path; no GPU or device opened.
2text path "/dev/null"
3fn main to int
4a = new uchar 128 0
5b = new uchar 128 0
6r = fopen path 0 len path 0 0
7if not ge r 0
8ret 1
9end
10r = fclose int r
11ret 0
12end