Skip to content

Commit d35f7b5

Browse files
committed
feat: Introduce virtual machine implementation in vm.c and remove RELEASE_NOTES_v1.0.0.md.
1 parent 9d79c3f commit d35f7b5

2 files changed

Lines changed: 1 addition & 62 deletions

File tree

RELEASE_NOTES_v1.0.0.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/runtime/vm.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,7 @@ static bool invoke(ObjString* name, int argCount, VM* vm) {
188188
return invokeFromClass(instance->klass, name, argCount, vm);
189189
}
190190

191-
// ... (Rest of file) ...
192-
193-
// DO_OP_CALL update in run() to be patched separately or via full file rewrite if preferred.
194-
// But `replace_file_content` targets blocks.
195-
// I will create a separate tool call for DO_OP_CALL update to be safe and precise.
196-
// This block just adds the helpers at the end of file (or before run/where needed).
197-
// Since `run` uses them, they must be forward declared or defined before `run`.
198-
// I will insert them BEFORE `run`.
191+
static InterpretResult run(VM* vm) {
199192
printf("DEBUG: Entering run()\n");
200193
CallFrame* frame = &vm->frames[vm->frameCount - 1];
201194

0 commit comments

Comments
 (0)