Working on tokenizer.
authorplugd <plugd@thelambdalab.xyz>
Mon, 10 Apr 2023 08:17:50 +0000 (10:17 +0200)
committerplugd <plugd@thelambdalab.xyz>
Mon, 10 Apr 2023 08:17:50 +0000 (10:17 +0200)
ez.el

diff --git a/ez.el b/ez.el
index 65990b7..268becd 100644 (file)
--- a/ez.el
+++ b/ez.el
   'wait-for-input)
 
 (defun ez-op-read2 (input-string)
-  (ez-tokenize-string input-string
-                      (car ez--next-read-args)
-                      (cadr ez--next-read-args))
-  'run)
+  (let ((baddr1 (car ez--next-read-args))
+        (baddr2 (cadr ez--next-read-args)))
+
+    (dotimes (i (length input-string))
+      (ez-mem-set-byte (+ baddr1 1 i) (downcase (elt input-string i))))
+    (ez-mem-set-byte (+ baddr1 1 (length input-string)) 0)
+    
+    ))
 
 ;; Execution loop