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
omega-mv / si / harness / examples / local_arrays_per_fn.om
| 1 | note local_arrays_per_fn: the 4 MiB local-array cap counts per function; 3 MiB here plus 2 MiB in f compiles |
| 2 | fn f to int |
| 3 | b = new uchar 2097152 2 |
| 4 | ret int get b 0 |
| 5 | end |
| 6 | fn main to int |
| 7 | a = new uchar 3145728 1 |
| 8 | ret add int get a 0 f |
| 9 | end |