diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-03-14 14:39:08 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-03-14 14:39:08 +0100 |
| commit | ef1499e057051e5845069d04cc12f20f42d8258f (patch) | |
| tree | 72dc44bda184986693141de657fe7972ea90e2cb /vm | |
| parent | 378683d25bdae89fa446b2b82f8dda5d6b34ea33 (diff) | |
| parent | cd75db8c69365ac5c8e967f9a941b9fb128b0b00 (diff) | |
Merge branch 'main' of github.com:mvertes/parscan
Diffstat (limited to 'vm')
| -rw-r--r-- | vm/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/README.md b/vm/README.md index 92b1ac8..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 Go interfaces (`[]any`). +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 |
