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 / si / benchmarks / native / neuralese / learncase.om

54 lines · 1017 bytes Raw Blame History
1note Public synthetic probe: field1=bit0; one score is exactly1 and the rest0.
2note Filed IEEE1 carrier also occurs in NL1 learned.stdout at its source-frozen run.
3text RG "17,1,0,1,0,1,0,0,0,4607182418800017408,0,0,0,1,0,0,0,0,0,0,0\n"
4text RP "17,1,0,1,0,1,0,0,0,4607182418800017408,0,0,0,0,0,0,0,0,0,0,0\n"
5text RA "17,1,0,1,0,1,0,0,0,4607182418800017408,0,0,0,1,0,0,0,1,0,0,0\n"
6text RW "17,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"
7text NH "NL6ROW good="
8text NR " refused="
9fn fill data view uchar * to void
10for i ulong len data
11put Buf i get data i
12end
13put Io 1 0
14put Io 2 len data
15end
16fn main to int
17a = new uchar 1 0
18if ne argcnt 2
19invalid
20end
21n = argread 1 a 0 1
22if ne n 1
23invalid
24end
25mode = get a 0
26if or lt mode 48 gt mode 53
27invalid
28end
29fill RG
30if eq mode 49
31fill RP
32end
33if eq mode 50
34fill RA
35end
36if eq mode 53
37fill RW
38end
39row
40if eq mode 51
41put Io 1 0
42row
43end
44if eq mode 52
45finish
46end
47idx = mul mul ulong 2 5 3
48putout NH len NH
49num get Good idx
50putout NR len NR
51num get Refuse idx
52putout LF 1
53ret 0
54end