1
0
Fork 0
forked from fun/fun

Updated ./scripts/check_op_includes.py for debugging and some fixes. (0.15.4)

This commit is contained in:
Johannes Findeisen 2025-10-01 00:02:54 +02:00
commit 34a7968d18
4 changed files with 55 additions and 28 deletions

View file

@ -82,12 +82,15 @@ threads-demo: fun
FUN_LIB_DIR="$(FUN_LIB)" ./$(BUILD_DIR)/fun examples/threads_demo.fun
# Additional convenience targets
.PHONY: verify-ops examples run-examples threads-demo
.PHONY: verify-ops examples run-examples threads-demo ops ops-quiet
# Verify that each OP_* in bytecode.h has a corresponding vm_case_*.inc include in vm.c
verify-ops:
# Shorthand aliases for opcode include check
ops:
@./scripts/check_op_includes.py --verbose
ops-quiet:
@./scripts/check_op_includes.py
# Build and run all examples (searches for the fun binary automatically)
examples run-examples: fun
@FUN_LIB_DIR="$(FUN_LIB)" ./scripts/run_examples.sh