omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / text-parent-baseline / baseline.json
| 1 | { |
| 2 | "source_commit": "0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9", |
| 3 | "seed_sha256": "191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9", |
| 4 | "cases": [ |
| 5 | { |
| 6 | "name": "empty", |
| 7 | "source": "text t \"\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 8 | "source_sha256": "92deed8f5d7e443561837b9eeee267ec4fb0f6d72cc5d7792dd5d1bc6e522c5e", |
| 9 | "native_compile_rc": 0, |
| 10 | "native_stderr": "", |
| 11 | "native_rc": 0, |
| 12 | "native_stdout_hex": "", |
| 13 | "expected_stdout_hex": "", |
| 14 | "old_bridge": { |
| 15 | "C": { |
| 16 | "rc": 24, |
| 17 | "stdout_bytes": 0, |
| 18 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 19 | }, |
| 20 | "P": { |
| 21 | "rc": 24, |
| 22 | "stdout_bytes": 0, |
| 23 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 24 | } |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "name": "hello", |
| 29 | "source": "text t \"hello\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 30 | "source_sha256": "ed059f147fb961406f265b015fe2cfc15c3604af90d0739bd72809987977a39c", |
| 31 | "native_compile_rc": 0, |
| 32 | "native_stderr": "", |
| 33 | "native_rc": 0, |
| 34 | "native_stdout_hex": "68656c6c6f", |
| 35 | "expected_stdout_hex": "68656c6c6f", |
| 36 | "old_bridge": { |
| 37 | "C": { |
| 38 | "rc": 24, |
| 39 | "stdout_bytes": 0, |
| 40 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 41 | }, |
| 42 | "P": { |
| 43 | "rc": 24, |
| 44 | "stdout_bytes": 0, |
| 45 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 46 | } |
| 47 | } |
| 48 | }, |
| 49 | { |
| 50 | "name": "escapes", |
| 51 | "source": "text t \"A\\tB\\\\C\\\"D\\nZ\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 52 | "source_sha256": "8900ff1bdad69c0e550a3bac1098ab2ddaf989d1ffd4a98c9ce697f1f8577eb3", |
| 53 | "native_compile_rc": 0, |
| 54 | "native_stderr": "", |
| 55 | "native_rc": 0, |
| 56 | "native_stdout_hex": "4109425c4322440a5a", |
| 57 | "expected_stdout_hex": "4109425c4322440a5a", |
| 58 | "old_bridge": { |
| 59 | "C": { |
| 60 | "rc": 24, |
| 61 | "stdout_bytes": 0, |
| 62 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 63 | }, |
| 64 | "P": { |
| 65 | "rc": 24, |
| 66 | "stdout_bytes": 0, |
| 67 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 68 | } |
| 69 | } |
| 70 | }, |
| 71 | { |
| 72 | "name": "raw-nul", |
| 73 | "source": "text t \"A\u0000B\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 74 | "source_sha256": "9fb399c9eafd458779452939c436910869cf089b87659448274c19a62e75c9b6", |
| 75 | "native_compile_rc": 0, |
| 76 | "native_stderr": "", |
| 77 | "native_rc": 0, |
| 78 | "native_stdout_hex": "410042", |
| 79 | "expected_stdout_hex": "410042", |
| 80 | "old_bridge": { |
| 81 | "C": { |
| 82 | "rc": 16, |
| 83 | "stdout_bytes": 0, |
| 84 | "stderr": "toc: line 1: error 16\n" |
| 85 | }, |
| 86 | "P": { |
| 87 | "rc": 16, |
| 88 | "stdout_bytes": 0, |
| 89 | "stderr": "toc: line 1: error 16\n" |
| 90 | } |
| 91 | } |
| 92 | }, |
| 93 | { |
| 94 | "name": "utf8", |
| 95 | "source": "text t \"caf\u00e9 \u03a9\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 96 | "source_sha256": "0c25ff9e4b18f845f967d5d630b10ec7e2b2307e1c8c0dbbd0a52c4729256cb1", |
| 97 | "native_compile_rc": 0, |
| 98 | "native_stderr": "", |
| 99 | "native_rc": 0, |
| 100 | "native_stdout_hex": "636166c3a920cea9", |
| 101 | "expected_stdout_hex": "636166c3a920cea9", |
| 102 | "old_bridge": { |
| 103 | "C": { |
| 104 | "rc": 24, |
| 105 | "stdout_bytes": 0, |
| 106 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 107 | }, |
| 108 | "P": { |
| 109 | "rc": 24, |
| 110 | "stdout_bytes": 0, |
| 111 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 112 | } |
| 113 | } |
| 114 | }, |
| 115 | { |
| 116 | "name": "unused", |
| 117 | "source": "text t \"abc\"\nfn main to int\nret 0\nend\n", |
| 118 | "source_sha256": "ff3721b7d8591f71af5cf9a33adef3ee18d138ffde8709451d30c21ccfe24057", |
| 119 | "native_compile_rc": 0, |
| 120 | "native_stderr": "", |
| 121 | "native_rc": 0, |
| 122 | "native_stdout_hex": "", |
| 123 | "expected_stdout_hex": "", |
| 124 | "old_bridge": { |
| 125 | "C": { |
| 126 | "rc": 24, |
| 127 | "stdout_bytes": 0, |
| 128 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 129 | }, |
| 130 | "P": { |
| 131 | "rc": 24, |
| 132 | "stdout_bytes": 0, |
| 133 | "stderr": "toc: line 1: error 24\nunsupported bridge capability\n" |
| 134 | } |
| 135 | } |
| 136 | }, |
| 137 | { |
| 138 | "name": "bad-escape", |
| 139 | "source": "text t \"a\\qb\"\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 140 | "source_sha256": "ee782401899b3d948bd1b7dcd131278b0cf90ed9c91a32a5a084a5b41a61a8ce", |
| 141 | "native_compile_rc": 22, |
| 142 | "native_stderr": "omc: line 1: error 22\n" |
| 143 | }, |
| 144 | { |
| 145 | "name": "unterminated", |
| 146 | "source": "text t \"abc\nfn main to int\nw = write 1 t 0 len t\nret 0\nend\n", |
| 147 | "source_sha256": "26bd373ee3094ad5843dfba2e496eb172156fd07451b93e513989adb41414eef", |
| 148 | "native_compile_rc": 22, |
| 149 | "native_stderr": "omc: line 1: error 22\n" |
| 150 | }, |
| 151 | { |
| 152 | "name": "inline-literal", |
| 153 | "source": "fn main to int\nw = write 1 \"abc\" 0 3\nret 0\nend\n", |
| 154 | "source_sha256": "54fa26a4af04e6288d16f4a873b5937549891bd2fc5ad08fd5e8f4be6adf18a3", |
| 155 | "native_compile_rc": 16, |
| 156 | "native_stderr": "omc: line 2: error 16\n" |
| 157 | } |
| 158 | ], |
| 159 | "executed": 9, |
| 160 | "native_accepts": 6, |
| 161 | "native_refusals": 3 |
| 162 | } |