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 / core / sovereign-core / om / qwen-native / tokenizer / cli.om

29 lines · 353 bytes Raw Blame History
1fn outid id ulong to void
2tcpu id
3tkpc 10
4end
5
6fn main to int
7mode = new uchar 6 0
8if ne argcnt 3
9ret 2
10end
11if ne argread 1 mode 0 6 6
12ret 2
13end
14enc = equalbytes mode encodecmd
15if and not enc not equalbytes mode decodecmd
16ret 2
17end
18loadmodel
19n = inputsize
20if enc
21unicodeinit
22encodeinput n
23else
24decodeinput n false
25decodeinput n true
26end
27tkpfl
28ret 0
29end