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-bridge/blob/main/evidence/issue-20-const-length/red-green.log # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / evidence / issue-20-const-length / red-green.log` 62 lines ยท 2762 bytes Raw Blame History 1 # omega-bridge#20: integer const as an array length. 2026-11-04T22:36:57Z 2 # compilers (sha256 prefix = file name): omc-734f bridge OM-1 pin; omc-b4f4 omega-mv main; omc-be8c bridge x86 pin; omc-2c82 omega_torch kernels 3 ## 1. direct compile (stdin -> code); cnst.om vs lit.om 4 omc-b4f4 cnst rc=0 `de45ba98406be279` 5 omc-b4f4 lit rc=0 `de45ba98406be279` 6 omc-b4f4 unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 7 omc-734f cnst rc=9 `e3b0c44298fc1c14` omc: line 8: error 9 8 omc-734f lit rc=0 `de45ba98406be279` 9 omc-734f unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 10 omc-2c82 cnst rc=0 `de45ba98406be279` 11 omc-2c82 lit rc=0 `de45ba98406be279` 12 omc-2c82 unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 13 omc-be8c cnst rc=0 `de45ba98406be279` 14 omc-be8c lit rc=0 `de45ba98406be279` 15 omc-be8c unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 16 omc-13ce cnst rc=0 `de45ba98406be279` 17 omc-13ce lit rc=0 `de45ba98406be279` 18 omc-13ce unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 19 omc-3988 cnst rc=0 `de45ba98406be279` 20 omc-3988 lit rc=0 `de45ba98406be279` 21 omc-3988 unk rc=16 `e3b0c44298fc1c14` omc: line 2: error 16 22 ## 2. tools/native: ob = main `7af4d11` (red), w23 = feat/omega-torch-m1 (green) 23 ob x86 cnst rc=110 tools/native: refused cnst.om: outside the native call subset, or a name the binding cannot carry (docs/NATIVE-ABI.md); nothing installed 24 ob x86 lit rc=0 tools/native: 1 unit(s) -> /out-ob-lit/libomega_native.so + omega_native.{c,h,py,rs,zig,go} (+ work/) 25 ob x86 unk rc=16 omc: line 3: error 16 26 ob aarch64 cnst rc=9 omc: line 8: error 9 27 w23 x86 cnst rc=0 tools/native: 1 unit(s) -> /out-w23-cnst/libomega_native.so + omega_native.{c,h,py,rs,zig,go} (+ work/) 28 w23 x86 lit rc=0 tools/native: 1 unit(s) -> /out-w23-lit/libomega_native.so + omega_native.{c,h,py,rs,zig,go} (+ work/) 29 w23 x86 unk rc=16 omc: line 3: error 16 30 w23 aarch64 cnst rc=9 omc: line 8: error 9 31 ## 3. generated bindings, cnst vs lit (w23, x86linux): only the signature comment differs 32 omega_native.c identical 33 omega_native.h: 34 18c18 35 < /* fn f buf edit ulong N k ulong to ulong */ 36 --- 37 > /* fn f buf edit ulong 4 k ulong to ulong */ 38 omega_native.py: 39 27c27 40 < # fn f buf edit ulong N k ulong to ulong 41 --- 42 > # fn f buf edit ulong 4 k ulong to ulong 43 omega_native.rs: 44 19c19 45 < // fn f buf edit ulong N k ulong to ulong 46 --- 47 > // fn f buf edit ulong 4 k ulong to ulong 48 omega_native.zig: 49 11c11 50 < // fn f buf edit ulong N k ulong to ulong 51 --- 52 > // fn f buf edit ulong 4 k ulong to ulong 53 omega_native.go: 54 28c28 55 < // fn f buf edit ulong N k ulong to ulong 56 --- 57 > // fn f buf edit ulong 4 k ulong to ulong 58 ## 4. C caller under QEMU 10.0.14 (EMULATED; physical x86 NOT_RUN) 59 PASS status=0 result=14 buf0=11 wronglen_status=32 60 out-w23-cnst rc=0 61 PASS status=0 result=14 buf0=11 wronglen_status=32 62 out-w23-lit rc=0