aboutsummaryrefslogtreecommitdiff
path: root/pkg/lang/vm/mem
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-05-31 01:01:32 +0000
committerGitHub <noreply@github.com>2022-05-31 01:02:20 +0000
commit338744d066704e48e22d8ec56a43acb4b20da7f1 (patch)
treeb508eb6764efc64ac611b6ea063ab44d9e6b0a9c /pkg/lang/vm/mem
parent78a29c41098db5e5f8291e0345a3cd443c52b329 (diff)
downloadjinx-338744d066704e48e22d8ec56a43acb4b20da7f1.tar.zst
jinx-338744d066704e48e22d8ec56a43acb4b20da7f1.zip
Add untyped Objects (for now)
Diffstat (limited to 'pkg/lang/vm/mem')
-rw-r--r--pkg/lang/vm/mem/cell.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/lang/vm/mem/cell.go b/pkg/lang/vm/mem/cell.go
index 5a0e9fb..73aa0c6 100644
--- a/pkg/lang/vm/mem/cell.go
+++ b/pkg/lang/vm/mem/cell.go
@@ -6,6 +6,7 @@ const (
CellKindEmpty CellKind = iota
CellKindString
CellKindArray
+ CellKindObject
CellKindType
CellKindEnv
@@ -22,6 +23,8 @@ func (c CellKind) String() string {
return "string"
case CellKindArray:
return "array"
+ case CellKindObject:
+ return "object"
case CellKindType:
return "type"
case CellKindEnv: