hash
Some checks failed
Build / build (push) Failing after 1m13s
Test / build (push) Failing after 2m1s

This commit is contained in:
Chuck Smith
2024-02-26 16:59:37 -05:00
parent 8721665bc1
commit 0a1201f1bc
5 changed files with 152 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ const (
OpGetGlobal
OpSetGlobal
OpArray
OpHash
)
type Definition struct {
@@ -57,6 +58,7 @@ var definitions = map[Opcode]*Definition{
OpGetGlobal: {"OpGetGlobal", []int{2}},
OpSetGlobal: {"OpSetGlobal", []int{2}},
OpArray: {"OpArray", []int{2}},
OpHash: {"OpHash", []int{2}},
}
func Lookup(op byte) (*Definition, error) {