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/seed/omc/om2/bnd/bnd.cases # 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 / seed / omc / om2 / bnd / bnd.cases` 97 lines ยท 8766 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 2 # seed/omc/om2/bnd/bnd.cases: standing gate for omegese-om2.md section 2 expression boundaries (#745 3 # checkbox 2): missing operand (error 4), extra operand (errors 5, 11), grouping (16, and g0..g4 that 4 # compile to identical bytes). Rows copied verbatim from the frozen L836 suite 5 # seed/qualification/om2/sec/s0s2/candidate.cases (lines 173-257 and its C2 rows for s2bnd); fixtures and 6 # expected codes stay there. Run from the repository root by seed/qualification/om2/gate.om. 7 # ======== section 2: expression boundaries (lines 59-62), both profiles; OM-1 codes = pinned OM-1 definition 8 # lines 59-61: tokens left after the statement's expression (typed operand); OM-1 code pinned (C1 line 17) 9 s2-om1-left-typed emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-typed.om - err:6:5 5 10 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 11 s2-om2-left-typed emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-typed.om - err:7:5 5 12 # lines 59-61: tokens left after an assignment's expression; OM-1 code pinned (C1 line 17) 13 s2-om1-left-assign emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-assign.om - err:6:5 5 14 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 15 s2-om2-left-assign emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-assign.om - err:7:5 5 16 # lines 59-61: a stray ) after a complete expression; OM-1 code pinned (C1 line 17) 17 s2-om1-left-paren emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-paren.om - err:6:5 5 18 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 19 s2-om2-left-paren emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-paren.om - err:7:5 5 20 # lines 59-61: tokens left after add of two bare numbers (ambiguity is found first); OM-1 code pinned (C1 line 17) 21 s2-om1-left-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om1-left-bare.om - err:5:11 11 22 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 23 s2-om2-left-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om2-left-bare.om - err:6:11 11 24 # lines 59-61: line ends before an operand is complete, followed by end; OM-1 code pinned (C1 line 17) 25 s2-om1-short-next emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-next.om - err:7:4 4 26 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 27 s2-om2-short-next emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-next.om - err:8:4 4 28 # lines 59-61: ret add 1 then end; OM-1 code pinned (C1 line 17) 29 s2-om1-short-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-bare.om - err:6:4 4 30 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 31 s2-om2-short-bare emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-bare.om - err:7:4 4 32 # lines 59-61: input ends (no final LF) before an operand is complete; OM-1 code pinned (C1 line 17) 33 s2-om1-short-eof emit seed/qualification/om2/sec/s0s2/s2bnd/om1-short-eof.om - err:6:4 4 34 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 35 s2-om2-short-eof emit seed/qualification/om2/sec/s0s2/s2bnd/om2-short-eof.om - err:7:4 4 36 # lines 59-61: a group missing its ) (OMEGESE 9.10); OM-1 code pinned (C1 line 17) 37 s2-om1-group-open emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-open.om - err:6:16 16 38 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 39 s2-om2-group-open emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-open.om - err:7:16 16 40 # lines 59-61: a group closed before its word has all operands; OM-1 code pinned (C1 line 17) 41 s2-om1-group-short emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-short.om - err:6:16 16 42 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 43 s2-om2-group-short emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-short.om - err:7:16 16 44 # lines 59-61: a group holding two values for one operand; OM-1 code pinned (C1 line 17) 45 s2-om1-group-wide emit seed/qualification/om2/sec/s0s2/s2bnd/om1-group-wide.om - err:6:16 16 46 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 47 s2-om2-group-wide emit seed/qualification/om2/sec/s0s2/s2bnd/om2-group-wide.om - err:7:16 16 48 # lines 59-61: [ is not grouping; OM-1 code pinned (C1 line 17) 49 s2-om1-bracket emit seed/qualification/om2/sec/s0s2/s2bnd/om1-bracket.om - err:6:3 3 50 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 51 s2-om2-bracket emit seed/qualification/om2/sec/s0s2/s2bnd/om2-bracket.om - err:7:3 3 52 # lines 59-61: { is not grouping; OM-1 code pinned (C1 line 17) 53 s2-om1-brace emit seed/qualification/om2/sec/s0s2/s2bnd/om1-brace.om - err:6:3 3 54 # line 59 'both profiles, unchanged' (+ line 62 no new grouping for [ and {): same code in an OM-2 unit, line +1 for the om2 line 55 s2-om2-brace emit seed/qualification/om2/sec/s0s2/s2bnd/om2-brace.om - err:7:3 3 56 # lines 61-62: grouping never changes which operands a word takes 57 s2-om1-g0-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om - - - 7 58 # lines 61-62: grouping never changes which operands a word takes 59 s2-om1-g1-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om - - - 7 60 # line 61: a group adds no code 61 s2-om1-g1-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om 62 # lines 61-62: grouping never changes which operands a word takes 63 s2-om1-g2-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om - - - 7 64 # line 61: a group adds no code 65 s2-om1-g2-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om 66 # lines 61-62: grouping never changes which operands a word takes 67 s2-om1-g3-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om - - - 7 68 # line 61: a group adds no code 69 s2-om1-g3-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om 70 # lines 61-62: grouping never changes which operands a word takes 71 s2-om1-g4-run run seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om - - - 7 72 # line 61: a group adds no code 73 s2-om1-g4-same same seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om 74 # lines 61-62: grouping never changes which operands a word takes 75 s2-om2-g0-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om - - - 7 76 # lines 61-62: grouping never changes which operands a word takes 77 s2-om2-g1-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g1.om - - - 7 78 # line 61: a group adds no code 79 s2-om2-g1-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g1.om 80 # lines 61-62: grouping never changes which operands a word takes 81 s2-om2-g2-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g2.om - - - 7 82 # line 61: a group adds no code 83 s2-om2-g2-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g2.om 84 # lines 61-62: grouping never changes which operands a word takes 85 s2-om2-g3-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g3.om - - - 7 86 # line 61: a group adds no code 87 s2-om2-g3-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g3.om 88 # lines 61-62: grouping never changes which operands a word takes 89 s2-om2-g4-run run seed/qualification/om2/sec/s0s2/s2bnd/om2-g4.om - - - 7 90 # line 61: a group adds no code 91 s2-om2-g4-same same seed/qualification/om2/sec/s0s2/s2bnd/om2-g0.om seed/qualification/om2/sec/s0s2/s2bnd/om2-g4.om 92 # C2: OM-1 grouping units compile to the pinned OM-1 (`734f0a39`) bytes 93 c2-s2-om1-g0 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g0.om sha:`fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce` - 0 94 c2-s2-om1-g1 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g1.om sha:`fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce` - 0 95 c2-s2-om1-g2 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g2.om sha:`fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce` - 0 96 c2-s2-om1-g3 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g3.om sha:`fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce` - 0 97 c2-s2-om1-g4 emit seed/qualification/om2/sec/s0s2/s2bnd/om1-g4.om sha:`fd03a4208a3ada5e357c3901042dd1abc2e8f12196725fb3af43b1cd3f2254ce` - 0