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/mk/turing_qrecord.mk # 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 / mk / turing_qrecord.mk` 28 lines ยท 1655 bytes Raw Blame History 1 # TURING companion records for continuous-value evidence (qprofile, qworld, 2 # qfreeze, qgain) and their sidecar manifest formats, in pure seeded OM-2: 3 # src/turing/ty_qrecord.om (composed after src/turing/ty_core_lib.om, which 4 # supplies SHA-256 and the OMG0 canonical builder), tests/turing/test_ty_qrecord.om, 5 # docs/turing/TURING_QCONT_RECORDS_V0.md. Picked up by `-include mk/*.mk`; no 6 # Makefile edit; redefines nothing that exists. 7 # 8 # test-turing-qrecord: builds the test with the seeded omc and runs it (pinned 9 # record and sidecar KATs, refusals, bindings, write-once files and manifests). 10 # The ASan/UBSan build of the C test is gone. OM-2 traps at run time an out-of-range array get or 11 # put (3), signed overflow (1), div or rem by 0 (2), a shift amount outside 0..width-1 (7) and an 12 # out-of-range conversion (5) (docs/one_layer/OMEGESE.md 9.3); unsigned arithmetic wraps as in C. 13 # Sanitizer checks with no OM-2 counterpart (alignment, use after free, leaks) are not replaced. 14 ifndef TURING_QRECORD_MK 15 TURING_QRECORD_MK := 1 16 .PHONY: test-turing-qrecord 17 TYQR_OMC ?= seed/out/omc 18 TYQR_OM_SRCS = src/turing/ty_core_lib.om src/turing/ty_qrecord.om 19 TYQR_DIR = $(OUT_DIR)/tests-turing-qrecord 20 21 $(TYQR_DIR)/test_ty_qrecord: tests/turing/test_ty_qrecord.om $(TYQR_OM_SRCS) $(TYQR_OMC) 22 @mkdir -p $(TYQR_DIR) 23 (printf 'om2\n'; sed '/^om2$$/d' $(TYQR_OM_SRCS) tests/turing/test_ty_qrecord.om) | $(TYQR_OMC) > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@ 24 25 test-turing-qrecord: $(TYQR_DIR)/test_ty_qrecord 26 ./$(TYQR_DIR)/test_ty_qrecord 27 @echo "test-turing-qrecord: pure OM-2 record builders, verifiers, refusals and manifests pass" 28 endif