Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/spec/omegese-om3.md # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / spec / omegese-om3.md` 45 lines ยท 3160 bytes Raw Blame History Source # Omegese profile OM-3: additions after the OM-2 freeze Status: PROPOSED (draft omega-mv#1008, 2026-10-31). Not frozen, not reviewed by the #599 language-evolution coordinator. `spec/omegese-om2.md` is frozen and says "A change after freeze needs `omegese-om3.md`"; this file is where such changes are written. It is additive to `spec/omegese-om2.md`, its errata and `docs/one_layer/OMEGESE.md`, which stay normative for everything not stated here. ## 0. Opt-in and compatibility - Each addition below names the units it applies to. Section 1 applies to units whose first line that is not a `note` is `om2`; this draft adds no `om3` line. Whether later additions need their own opt-in line is open. - C1 and C2 of OM-2 still hold. Every OM-1 unit keeps its meaning, error code and line, and the frozen C2 manifest compiles byte-identically. An addition may only turn an OM-2 refusal into an accepted unit; it never changes the output of a unit that compiles today. - C3 still holds. The compiler source stays inside om4's language and om4's function limit. ## 1. Host words in function mode (#1008) - An OM-2 function unit (first line `om2`, no `fn main`) may use the host words `fopen`, `fclose`, `fstat`, `stat`, `lstat`, `getuid`, `geteuid`, `getgid` and `getegid` (OMEGESE.md section 10) on AArch64, with their program-mode meaning and machine code. - The same units may use the clocks `monons`, `realns` and `sleepns` and the device words `devctl`, `mapnew`, `mapdrop`, `mapread`, `mapwrite`, `devcall`, `uvmctl`, `mapaddr`, `mapget`, `mapset`, `maphold` and `mapbind` (`seed/host/MAPPING.md`). Function-mode entry31 is a data pointer to a32-byte capacity/generation header followed by1..4098 32-byte owned slots; handles have13 low slot bits. The bridge supplies an explicit context with disjoint generation ranges and serializes its calls. Fixed bind can replace only the whole owned PROT_NONE reservation; failure unmaps/retires the token if cleanup succeeds. Cleanup failure traps3 with a quarantined owner: bind/read/write refuse; mapaddr/drop remain available, and destroy stays busy until drop succeeds. Neither outcome promises to preserve a reservation. An absent table pointer may fault, not status34. - Context ABI revision is DRAFT and requires Drake approval before merge. It supersedes the unmerged#1040 raw128-slot function-mode format, not an accepted frozen OM-2 feature. The bridge must reject incompatible mapping compiler/runtime fingerprints. Program-mode raw128 slots/eight slot bits, frozen C2 manifest, pure and file/identity units stay unchanged. - Every other host word in function mode, any host word in an OM-1 function unit, and any host word for another target is error 9. - These words do not form a sandbox: a caller that embeds such a unit grants it the file and identity view (and, for the device words, the ioctl and mapping view) of its own process, so the omega-bridge refuses a unit that names one unless the caller opts in. - Gate: `seed/omc/om2/fnhost/fnhost.cases` with the mutants in `seed/omc/om2/fnhost/mutants.cases`, run by `seed/host/check.sh`.