From ed702c3b88953112a3682c818a6e801549e1b461 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Fri, 22 May 2026 00:29:03 -0700 Subject: it runs!!!!!! it interactively reads input and everything only some of that actually works, but hey, it's a start Force-Push: yes Change-Id: Ib82beb695be1a18de8aaaf3040b7c632851c6002 --- execution.e | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'execution.e') diff --git a/execution.e b/execution.e index ce4c2c4..0aa5491 100644 --- a/execution.e +++ b/execution.e @@ -483,11 +483,17 @@ ~ Now everything we need has been added to the log and we're almost ready ~ to jump into it. It's inconvenient for code under the log-load transform - ~ to interact with the label system, so we initialize main-input-buffer - ~ here. - ~ - ~ TODO or not ;) - ~ main-input-buffer boot-source attach-string-to-input-buffer + ~ to interact with the label system, so if we want to point + ~ main-input-buffer at a string, this is the place to do it. + + ~ The next layer is built now, so let's move on to it. + L@' litstring offset-to-target-address-space pack64 + s" quit" packstring 8 packalign + L@' log-load-find-execution-token offset-to-target-address-space pack64 + L@' swap offset-to-target-address-space pack64 + ~ Get rid of that heap pointer on the stack, we're finally done with it! + L@' drop offset-to-target-address-space pack64 + L@' execute offset-to-target-address-space pack64 ; -- cgit 1.4.1