summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorAntonio Navarro Perez <antnavper@gmail.com>2024-03-12 15:23:18 +0100
committerAntonio Navarro Perez <antnavper@gmail.com>2024-03-12 15:23:18 +0100
commitee283aba92757f3661e6bb1cc746e8bb5efff884 (patch)
treee0e9729e5bd2bd15c6527ae1e474ff5a1a1c8f96 /vm
parent6a32a7bc5f6320902cd5c2910a1353a0f7039237 (diff)
Fix: small README fixes and throw an error if expression not supported.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
Diffstat (limited to 'vm')
-rw-r--r--vm/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/README.md b/vm/README.md
index 92b1ac8..ee550a2 100644
--- a/vm/README.md
+++ b/vm/README.md
@@ -28,7 +28,7 @@ Structurally, the vm implements logical and arithmetic operators,
condional jumps for `if`, `for` and `switch` control flow, and function
call, return and frame management.
-the memory state of the vm is a slice of Go interfaces (`[]any`).
+the memory state of the vm is a slice of (`[]reflect.Value`).
The whole vm is coded in a single function of 80 lines with no
dependencies. The size will grow as we add missing instructions, but the