From a41c6444d30f9ad561d95a1776f796581338df16 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Fri, 28 Aug 2026 22:21:52 -0700 Subject: make read-to-buffer take its delimiter as a parameter since the recommended invocation to build Evocation (hehe) does the heavy lifting in interpreted mode, this required a new helper, allocate-string, which takes a string in the scratch space and properly allocates it so it won't be overwritten by future allocations Force-Push: yes Change-Id: Ia73612a65fd7c11af5fe110c573c23c16b777112 --- evoke.e | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'evoke.e') diff --git a/evoke.e b/evoke.e index 41c3687..ddb6135 100644 --- a/evoke.e +++ b/evoke.e @@ -1,7 +1,7 @@ ~ (cat labels.e elf.e transform.e execution.e \ -~ echo 262144 read-to-buffer; \ +~ echo 's" pyrzqxgl" allocate-string dup 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; \ +~ echo pyrzqxgl swap 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; \ ~ echo 0 sys-exit pyrzqxgl; \ -- cgit 1.4.1