- 16 tasks complete: arena, object model, borrow word, containers, RC + budgeted cycle collector, wob_build, validating loader, interpreter core (dual dispatch), object opcodes, drop-map unwinding, builtins + DB_STUB + TRAP, ICALL, wovm CLI + just recipes - 13 test suites × 2 dispatch flavors (ASan+UBSan) + CLI smoke, all green - .wob v1 format pinned in src/wob.h + docs/plan/oop-vm/00-wob-format.md - wo-rt.c reference event-loop preserved for sub-project 2 This is Iteration 2 of the OOP milestone; compiler front (Iteration 3) is in progress on this branch. They meet at Iteration 4 (emitter+e2e).
12 lines
436 B
C
12 lines
436 B
C
/* builtin.h — runtime services bytecode can't express (spec §3/§5):
|
|
* now/print/print_int/words plus the container bridge to cont.c. One
|
|
* dispatcher: takes the VM, the current frame's registers, and the
|
|
* instruction; 0 = ok, else a WO_T_* trap code with *msg set. */
|
|
#ifndef WO_BUILTIN_H
|
|
#define WO_BUILTIN_H
|
|
|
|
#include "vm.h"
|
|
|
|
int wo_builtin(wo_vm *vm, uint64_t *R, uint32_t ins, const char **msg);
|
|
|
|
#endif /* WO_BUILTIN_H */
|