summary refs log tree commit diff
path: root/evoke.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-21 17:57:18 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-21 17:57:18 -0700
commitff09b120141e9d8acbd930d44c3f0596eb05a016 (patch)
treea773f714dcf79d864d476d880cf31520c5d7caf7 /evoke.e
parenta7a670e41bdaf9c57bfe7bbd802158de91d7d94d (diff)
dynamic.e is split up again, and more progress
see dynamic.e, input.e, interpret.e, and flow-control.e

there were a couple things in the log-load transform that need to work in compile mode, too

Force-Push: yes
Change-Id: I7caac3b9205f36f7e082a3fd280561d67e27942c
Diffstat (limited to 'evoke.e')
-rw-r--r--evoke.e11
1 files changed, 8 insertions, 3 deletions
diff --git a/evoke.e b/evoke.e
index c1ccebc..54fe3fb 100644
--- a/evoke.e
+++ b/evoke.e
@@ -2,7 +2,8 @@
 ~  echo 262144 read-to-buffer; \
 ~  cat core.e linux.e output.e amd64.e execution-support.e log-load.e; \
 ~  echo pyrzqxgl 262144 read-to-buffer; \
-~  cat core.e linux.e output.e amd64.e execution-support.e dynamic.e; \
+~  cat core.e linux.e output.e amd64.e execution-support.e log-load.e \
+~      dynamic.e input.e ; \
 ~  echo 0 sys-exit pyrzqxgl; \
 ~  cat evoke.e) \
 ~     | ./quine > evoke && chmod 755 evoke && ./evoke
@@ -10,8 +11,6 @@
 s" source-to-copy-to-log" variable
 s" source-to-precompile" variable
 
-~ (output memory start, current output point
-~  -- output memory start, current output point)
 
 ~ (output memory start, current output point
 ~  -- output memory start, current output point)
@@ -20,12 +19,18 @@ s" source-to-precompile" variable
 ~
 : all-contents
   0x08000000 L!' origin
+
   elf-file-header
   elf-program-header
   output-cold-start
   source-to-copy-to-log output-warm-start
   source-to-precompile label-transform
+
+  ~   If we wanted words in the log to be able to call statically-linked
+  ~ words, we could set this to something nonzero. We don't, so we leave it
+  ~ alone.
   0 L!' final-word-name
+
   current-offset L!' total-size
   0 L!' :
   0 L!' ;