about summary refs log tree commit diff
path: root/transform.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-15 16:05:08 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-15 16:05:08 -0700
commit9ac5b1f59144c13d2bdb1508f4e4f820db00bf48 (patch)
tree08f7df8f4abf16435267f5ec57b9bc735f3d5bf6 /transform.e
parent4137177c016928a6d255bbef762f0d220945083c (diff)
added section headers and other formatting to all the parts of the hex dump
Force-Push: yes
Change-Id: Ie66d85fd171dfb45d1f3b6869bf94056ec8303af
Diffstat (limited to 'transform.e')
-rw-r--r--transform.e17
1 files changed, 17 insertions, 0 deletions
diff --git a/transform.e b/transform.e
index e987689..e6c4af5 100644
--- a/transform.e
+++ b/transform.e
@@ -2604,6 +2604,23 @@ allocate-transformation-state s" transformation-state" variable
 ~ (output buffer start, output point, input string pointer, delimiter pointer
 ~  -- output buffer start, output point)
 : log-load-transform
+  ~ :   This is the start of the log-load routine, which is a long block of
+  ~ : code that has been processed by the log-load transform. It is part of
+  ~ : the warm-start routine, which does other things before and after it.
+  ~ : For clarity's sake, to avoid weird nesting, the section header above
+  ~ : calls this the warm-start section of the executable, but in a sense it
+  ~ : might be more accurate to call it the log-load section.
+  ~ :
+  ~ :   The routine is interpreted Forth code, just as the warm-start routine
+  ~ : as a whole is; see above.
+  ~ :
+  ~ :   The job of the log-load routine is to create runnable code in the
+  ~ : dynamic log, at runtime. The normal way to create a Forth executable
+  ~ : is to use label-transformed code to implement a minimal set of
+  ~ : functionality needed for the log-load routine to run, then invoke the
+  ~ : log-load routine to copy a more complete set of functionality into
+  ~ : memory.
+
   main-input-buffer dup push-input-buffer
   3roll attach-string-to-input-buffer