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
| 1 | # #627 Python lane (translation-compose-v1): python-explicit-u64-pure-v1 importer/exporter. Author self-test only. |
| 2 | # SA_SEED_REPO: local clone holding the pinned bridge commit 0fc7d866 (tools/source-aware/build). |
| 3 | # PY_SA_ROOT: checkout whose tools/source-aware/sa is the reference #621 codec (default: this tree, built here); |
| 4 | # PY_C_IMPORT: the C importer used for F1 links and C->Python (default: this tree's build/L589/c-import, built here). |
| 5 | # PY_C_EXPORT: optional translation-v1 section 6 exporter CLI; empty = Python->C NOT_RUN. |
| 6 | SA_SEED_REPO ?= $(HOME)/workspace/omega-bridge |
| 7 | PY_SA_ROOT ?= $(CURDIR) |
| 8 | PY_C_IMPORT ?= $(CURDIR)/build/L589/c-import |
| 9 | PY_C_EXPORT ?= |
| 10 | export SA_SEED_REPO |
| 11 | .PHONY: python-u64 test-python-u64 |
| 12 | python-u64: |
| 13 | python3 tools/adapters/build-python-import.py |
| 14 | python3 tools/adapters/build-python-export.py |
| 15 | test-python-u64: python-u64 |
| 16 | $(MAKE) -f mk/source-aware.mk source-aware |
| 17 | $(MAKE) -f mk/c-u64-import.mk c-u64-import |
| 18 | python3 tests/universal/translation/python_selftest.py --sa-root $(PY_SA_ROOT) --c-import $(PY_C_IMPORT) --c-export '$(PY_C_EXPORT)' --out build/L627/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)') |