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 / omc / sites / found-arrlen-1.om

31 lines · 839 bytes Raw Blame History
1note sites: found by a one-token change of a tracked program; reaches the omc error site in arrlen (code 23)
2note SPDX-License-Identifier: Apache-2.0
3note omegese-om2.md 2 lines 53-55: 0x then 1..16 digits 0-9a-f, value unsigned, typed by the place
4note under the decimal range rule. Maxima of every integer type, 0x0, 16 digits with leading zeros,
5note and all sixteen digits. Expected stdout: oracle/s0s2/oracle.py (hex_max). Used with lib/putu.om.
6om2
7fn main to int
8a = uchar 0xff
9putu ulong a
10b = ushort 0xffff
11putu ulong b
12c = uint 0xffffffff
13putu ulong c
14d new ulong 0xffffffffffffffff
15putu d
16e = byte 0x7f
17putu ulong e
18f = short 0x7fff
19putu ulong f
20g = int 0x7fffffff
21putu ulong g
22h = long 0x7fffffffffffffff
23putu ulong h
24z = ulong 0x0
25putu z
26y = uchar 0x00000000000000ff
27putu ulong y
28w = ulong 0x0123456789abcdef
29putu w
30ret 0
31end