summary refs log tree commit diff
path: root/evoke.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-20 19:59:18 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-20 20:03:01 -0700
commit2fcfc1bcb59e0c1716a6a7dffcad4e0b90790a20 (patch)
tree4ee37eaf51f26913170d062c14be29274b486618 /evoke.e
parent53f52a67b7c5bb8af12c92a2f3a219e75dd9b0c3 (diff)
so yeah, docol, exit, and lit all work in log-load now
also s" and ." work in the label transform, and are used to produce an important error message during the log-load routine, since we can't know whether log-loaded words exist until runtime

sweet, right?

Change-Id: I6a67139538c2cbcef40a1093202b2b4e0ad6febb
Force-Push: yes
Diffstat (limited to 'evoke.e')
-rw-r--r--evoke.e10
1 files changed, 7 insertions, 3 deletions
diff --git a/evoke.e b/evoke.e
index 05e500e..1d545b1 100644
--- a/evoke.e
+++ b/evoke.e
@@ -39,12 +39,16 @@ here !
     here ! ] ;asm
 
 ~   Now that we have exit, semicolon will also work and we can define
-~ non-assembly words.
-: foo 4 5 + ;
+~ non-assembly words. However, it will be hard to make them do much until we
+~ have lit as well.
+: lit
+  [ here @
+    lods64
+    :rax push-reg64
+    here ! ] ;asm
 
 42 sys-exit
 
-
 pyrzqxgl
 ~ 0 sys-exit
 s" source-to-copy-to-log" variable