interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / mk / omegese.mk

24 lines · 1314 bytes Raw Blame History
1# tools/omegese: Omegese, the AI-writer program language (docs/one_layer/OMEGESE.md). Omegese lowers to the
2# omega_emit op list, so the IR, checker2 and the signed receipt chain are unchanged.
3# Picked up by `-include mk/*.mk`; not part of `all` or `test`.
4#
5# omegese build/omegese/omegese (pure seeded OM-2 compiled by seed/out/omc)
6# test-omegese tools/omegese/test_omegese.sh against the pure OM-2 binary. The script checks the dev
7# programs (omegese -> omega_emit -> checker2 ACCEPT), refusals with reasons, the loop-guard
8# negative control, the exact next oracle (completeness, soundness and truncation fuzz) and,
9# when OMEGESE_TOKCOUNT and OMEGESE_TOKENIZER are set, the tokenizer gate (every fixed word
10# is one token)
11ifndef OMEGESE_MK
12OMEGESE_MK := 1
13.PHONY: omegese test-omegese
14OMEGESE_DIR = $(OUT_DIR)/omegese
15
16$(OMEGESE_DIR)/omegese: tools/omegese/omegese.om seed/out/omc
17 @mkdir -p $(OMEGESE_DIR)
18 seed/out/omc < tools/omegese/omegese.om > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@
19
20omegese: $(OMEGESE_DIR)/omegese
21
22test-omegese: omegese omega-emit checker2
23 bash tools/omegese/test_omegese.sh $(abspath $(OMEGESE_DIR)/omegese) $(abspath $(OUT_DIR)/omega_emit/omega_emit) $(abspath $(C2_DIR)/checker2)
24endif