From a66567fbc4d585f6da960a527ff8ee27ad7406b1 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Wed, 26 Aug 2026 21:07:27 -0700 Subject: add a metadata structure for the hex transform the structure will eventually be populated from a few places, but for now, the proof-of-concept installs a complex hook that runs only on the call to "allocate" done at the top of "label-loop". the comment output code works: the metadata entries are output in the appropriate places in the dump! yay Force-Push: yes Change-Id: I15f20241e84b535c8407f9a190b22c9cb85227e6 --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index a7d61c7..334f3b8 100644 --- a/README.txt +++ b/README.txt @@ -179,7 +179,7 @@ on hex.e as follows. (We heard you liked metacircularity, so we put some metacircularity in your metacircularity so you can be metacircular while you're metacircular.) - $ (cat labels.e elf.e transform.e; echo 's" xyzzy" allocate-string dup 262144 read-to-buffer'; cat core.e linux.e output.e amd64.e execution-support.e log-load.e dynamic.e input.e interpret.e flow-control.e linux-dynamic.e labels.e elf.e hex.e; echo 'xyzzy s" hex-source" variable 1024 1024 * allocate s" hex-binary" variable 1024 1024 * allocate s" hex-metadata" variable hex-metadata hex-binary dup hex-source 5 roll hex-transform hex-metadata hexdump bye ' ) | ./evoke > hex.hex + $ (cat labels.e elf.e transform.e; echo 's" xyzzy" allocate-string dup 262144 read-to-buffer'; cat core.e linux.e output.e amd64.e execution-support.e log-load.e dynamic.e input.e interpret.e flow-control.e linux-dynamic.e labels.e elf.e hex.e; echo 'xyzzy s" hex-source" variable 1024 1024 * allocate s" hex-binary" variable 1024 1024 * allocate s" hex-metadata" variable hex-metadata hex-binary dup hex-source 5 roll hex-transform bye ' ) | ./evoke > hex.hex There is not yet a recommended way to run the hex transform on evoke.e, but when there is it will look like appending most of the Evocation-in-Evocation -- cgit 1.4.1