babel
aien-dev/babel
Brought by drakestapleton
babel / DEPENDENCIES.md
| 1 | # Dependencies |
| 2 | |
| 3 | Babel is written in Omega (`src/*.om`). This file records every outside program in its build or run path. Each entry gives the version observed on the reference host (aarch64 Linux, Ubuntu 24.04, 2026-10-26), what babel uses it for, and its Omega replacement. Verification oracles are kept on purpose: they check babel's claims, and a replacement must not remove them. |
| 4 | |
| 5 | ## Build path |
| 6 | |
| 7 | | Dependency | Version / pin | Purpose | Omega replacement | |
| 8 | |---|---|---|---| |
| 9 | | omc (OM-2 seed compiler) | aien-dev/omega-mv `0b77e6ea2:seed/out/omc`, sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` | Compiles babel | It is Omega's own compiler. Moves with the omega-mv reseeds. | |
| 10 | | sha256-om2.om | aien-dev/omega-mv `0b77e6ea2:om/sha256/sha256-om2.om`, sha256 `dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`, Apache-2.0 | SHA-256 of input files and Omega units (FIPS 180-4, the om-units SHA256-PARITY cut-over unit) | Already Omega. `build.sh` drops its four `export` markers (library-mode only) and changes nothing else. | |
| 11 | | git, sha256sum, sed, sh | Ubuntu 24.04 | `build.sh` fetches the pins, checks their digests and concatenates the units | Coordination only, not part of babel | |
| 12 | |
| 13 | ## Run path (programs babel spawns) |
| 14 | |
| 15 | | Dependency | Version observed | Purpose | Omega replacement | |
| 16 | |---|---|---|---| |
| 17 | | omega-mv adapters `c-import`, `lower`, `<lang>-export`, `retarget` | `universal/624-g1-integration` `2d4c640702c82b8deb8a296407aadf660dac7fc7`; native omc sha256 `734f0a39…6b61` (babel refuses any other) | C → Omega import, lowering, Omega → target export | The computation and hashing already run in native Omega. The entry points are Python dispatch scripts (`#!/usr/bin/env python3`, "transparent host dispatch") that the #624 lanes own. Replacing them is adapter work, not babel work. | |
| 18 | | python3 | 3.12.3 | Runs the adapter dispatchers; the python target's interpreter | Dispatchers: native Omega entry points in omega-mv (#624). Target: none; Python output needs Python. | |
| 19 | | /usr/bin/env | coreutils 9.4 | Gives each child an explicit environment (`execprog` passes an empty one) | Omega `execprog` with an environment argument (PROPOSED compiler extension) | |
| 20 | | cc (gcc) | 13.3.0 | Builds the original C as the differential **oracle**; the c target's compiler | Oracle: keep, an independent oracle by design. c target: none needed to produce C. | |
| 21 | | cargo, rustc | 1.98.1 | Builds and tests the rust target | None: target toolchain | |
| 22 | | g++ | 13.3.0 | Builds the cpp target | None: target toolchain | |
| 23 | | zig | 0.17.0 (`ZIG=`) | Builds the zig target | None: target toolchain | |
| 24 | | go | 1.27.3 (`GO=`, `GOTOOLCHAIN=local`) | Builds the go target | None: target toolchain | |
| 25 | |
| 26 | Toolchain versions are recorded per run in `report.json` (`toolchains`). If a toolchain is missing, the affected units get NOT_RUN, never TRANSLATED. |
| 27 | |
| 28 | ## Test path |
| 29 | |
| 30 | `tests/run.sh` uses sh, cmp, awk, grep, sed, wc, mktemp and `python3 -m json.tool`. They are independent checkers of babel's output, kept as oracles. |