summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Navarro Perez <antnavper@gmail.com>2024-03-13 15:56:08 +0100
committerGitHub <noreply@github.com>2024-03-13 15:56:08 +0100
commita7f99d19978e5bf337be3e778f5376f346f69c4a (patch)
treeb427d2157a81ff7ab42c88be897db9e482a5b426
parentee283aba92757f3661e6bb1cc746e8bb5efff884 (diff)
Update vm/README.md
Co-authored-by: Marc Vertes <mvertes@free.fr>
-rw-r--r--vm/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/README.md b/vm/README.md
index ee550a2..127da45 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 (`[]reflect.Value`).
+the memory state of the vm is a slice of (`[]Value`), where `Value` is similar to a `reflect.Value`, containing pointers to value data and type.
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