about summary refs log tree commit diff
path: root/evoke.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-23 03:14:24 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-23 03:16:26 -0700
commitf5ac975b7f4f1931a687f4c60d008498f798128b (patch)
tree9df5768ba5c103af543e412136625e6ea1c03fd3 /evoke.e
parentd5030a4cf75b3600c957b0d48e0e68946367e919 (diff)
use file calls to read source during compilation
as a result of this, the massive invocations to compile things are now shorter

not all the way shorter, but significantly shorter :)

because of where these changes are, this doesn't change the binary at all, so no new evoke.hex is needed (yay!)

Force-Push: yes
Change-Id: I35dfd065b2a4fc4bf1b80f402a07088efca43676
Diffstat (limited to 'evoke.e')
-rw-r--r--evoke.e30
1 files changed, 28 insertions, 2 deletions
diff --git a/evoke.e b/evoke.e
index 8c41ace..9a12075 100644
--- a/evoke.e
+++ b/evoke.e
@@ -8,8 +8,34 @@
 ~  cat evoke.e) \
 ~     | ./quine > evoke && chmod 755 evoke && ./evoke
 
-s" source-to-copy-to-log" variable
-s" source-to-precompile" variable
+: read-inputs
+  here @ dup
+  s" core.e" pack-file-contents
+  s" linux.e" pack-file-contents
+  s" output.e" pack-file-contents
+  s" amd64.e" pack-file-contents
+  s" execution-support.e" pack-file-contents
+  s" log-load.e" pack-file-contents
+  s" pyrzqxgl" packstring
+  0 pack8 8 packalign here !
+  s" source-to-precompile" variable
+
+  here @ dup
+  s" core.e" pack-file-contents
+  s" linux.e" pack-file-contents
+  s" output.e" pack-file-contents
+  s" amd64.e" pack-file-contents
+  s" execution-support.e" pack-file-contents
+  s" log-load.e" pack-file-contents
+  s" dynamic.e" pack-file-contents
+  s" input.e" pack-file-contents
+  s" interpret.e" pack-file-contents
+  s" flow-control.e" pack-file-contents
+  s" linux-dynamic.e" pack-file-contents
+  s" pyrzqxgl" packstring
+  0 pack8 8 packalign here !
+  s" source-to-copy-to-log" variable ;
+read-inputs
 
 
 ~ (output memory start, current output point