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/visor-console.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 / visor-console.mk` 32 lines ยท 2011 bytes Raw Blame History 1 # Omega Visor lane 2 (console / REPL). Pure seeded OM-2, no C. 2 # `make test-visor-console` runs the console test twice: 3 # 1. lane-only: tests/visor/test_visor_console.om with the lane stubs, built by the seed 4 # omc from ONLY visor.om, the parser, the console and the test stubs, so the console 5 # framework can be tested even while other lanes are broken (134 checks); 6 # 2. full: the same checks plus tests/visor/test_visor_console_e2e.om, built from the 7 # omega binary's sources (OMEGA_OM_SRCS) with the test hook dispatcher in place of 8 # tools/omega_wire.om, so the end-to-end sessions run through the real hook wiring of 9 # tools/omega_ops.om (172 checks). Both run from the repository root (fixture paths). 10 $(OUT_DIR)/lane2: 11 mkdir -p $@ 12 13 VISOR_CONSOLE_LANE_OM_SRCS = src/visor/visor.om src/visor/visor_parse_command.om \ 14 src/visor/visor_console_hooks.om tests/visor/test_visor_console_hooks.om \ 15 tests/visor/test_visor_console_lane.om src/visor/visor_console.om \ 16 tests/visor/test_visor_console.om tests/visor/test_visor_console_main.om 17 18 $(OUT_DIR)/lane2/test_visor_console: $(VISOR_CONSOLE_LANE_OM_SRCS) $(VISOR_OMC) | $(OUT_DIR)/lane2 19 (printf 'om2\n'; sed '/^om2$$/d' $(VISOR_CONSOLE_LANE_OM_SRCS)) | $(VISOR_OMC) > $@ && chmod +x $@ 20 21 VISOR_CONSOLE_FULL_OM_SRCS = \ 22 $(filter-out tools/omega_wire.om src/visor/visor_console.om tools/omega.om,$(OMEGA_OM_SRCS)) \ 23 tests/visor/test_visor_console_hooks.om tests/visor/test_visor_console_wire.om \ 24 src/visor/visor_console.om tests/visor/test_visor_console.om tests/visor/test_visor_console_e2e.om 25 26 $(OUT_DIR)/lane2/test_visor_console_full: $(VISOR_CONSOLE_FULL_OM_SRCS) $(VISOR_OMC) | $(OUT_DIR)/lane2 27 (printf 'om2\n'; sed -e '/^om2$$/d' -e 's/^export fn /fn /' $(VISOR_CONSOLE_FULL_OM_SRCS)) | $(VISOR_OMC) > $@ && chmod +x $@ 28 29 .PHONY: test-visor-console 30 test-visor-console: $(OUT_DIR)/lane2/test_visor_console $(OUT_DIR)/lane2/test_visor_console_full 31 $(OUT_DIR)/lane2/test_visor_console 32 $(OUT_DIR)/lane2/test_visor_console_full