about summary refs log tree commit diff
path: root/evoke.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-29 11:17:30 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-29 11:18:56 -0700
commit3c36f513532d28ac101fb057e845ce66b8e6da1b (patch)
tree7c7d7bab19990e95bdb0893040b90154dc5e8483 /evoke.e
parent77e8ce989010fbd94080e780fb0b5cb6c10434e8 (diff)
add a constant string "boot-source" which is run at startup
this will allow us to have compiled-in code that wouldn't run under the transforms, though we don't add anything of substance just yet

this strategy was used early in bring-up, in the historical flatassembler version of Evocation, so the design space of it is already well-explored in Irenes' head. how pleasant. :)

Force-Push: yes
Change-Id: I722cddb77657df9ca518c0d9841aa587bf63feb3
Diffstat (limited to 'evoke.e')
-rw-r--r--evoke.e14
1 files changed, 12 insertions, 2 deletions
diff --git a/evoke.e b/evoke.e
index 1b1453b..cade5e4 100644
--- a/evoke.e
+++ b/evoke.e
@@ -30,7 +30,10 @@ s" compilation/execution.e" include
   s" language/dynamic/linux.e" pack-file-contents
   s" language/dynamic/files.e" pack-file-contents
   0 pack8 8 packalign here !
-  s" source-to-copy-to-log" variable ;
+  s" source-to-copy-to-log" variable
+
+  s" relink-main-input-buffer-to-stdin"
+  s" source-to-textually-include" variable ;
 read-inputs
 
 
@@ -56,8 +59,15 @@ read-inputs
   elf-program-header
 
   output-cold-start
-  source-to-copy-to-log output-warm-start
+
+  output-warm-start-header
+  source-to-copy-to-log log-load-transform
+  output-warm-start-post-log-load-transform
+  output-warm-start-attach-boot-source
+  output-warm-start-footer
+
   source-to-precompile label-transform
+  source-to-textually-include output-boot-source
 
   ~   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