1
0
Fork 0
forked from fun/fun

Tons of refactoring and some fixes and enhancements... ;)

This commit is contained in:
Johannes Findeisen 2025-09-15 06:31:32 +02:00
commit 13919ad87d
82 changed files with 1775 additions and 1382 deletions

View file

@ -48,3 +48,14 @@ repl: fun
# Convenience: run a script (usage: make run SCRIPT=examples/strings_test.fun)
run: fun
./$(BUILD_DIR)/fun $(SCRIPT)
# Additional convenience targets
.PHONY: verify-ops examples run-examples
# Verify that each OP_* in bytecode.h has a corresponding vm_case_*.inc include in vm.c
verify-ops:
@./scripts/check_op_includes.py --verbose
# Build and run all examples (searches for the fun binary automatically)
examples run-examples: fun
@./scripts/run_examples.sh