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 / qualification / om2 / sec / s0s2 / s2hex / dec-max.om

28 lines · 600 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note OM-1 twin of s2hex/hex-max.om: the same values in decimal (OMEGESE.md 9.3), so the expected
3note stdout of hex-max.om is also checked against the pinned OM-1 compiler. Used with lib/putu.om.
4fn main to int
5a = uchar 255
6putu ulong a
7b = ushort 65535
8putu ulong b
9c = uint 4294967295
10putu ulong c
11d = ulong 18446744073709551615
12putu d
13e = byte 127
14putu ulong e
15f = short 32767
16putu ulong f
17g = int 2147483647
18putu ulong g
19h = long 9223372036854775807
20putu ulong h
21z = ulong 0
22putu z
23y = uchar 255
24putu ulong y
25w = ulong 81985529216486895
26putu w
27ret 0
28end