finish operators

This commit is contained in:
2023-03-08 23:41:33 +00:00
parent 09deba8912
commit 0892b78fd4
6 changed files with 177 additions and 28 deletions

View File

@@ -48,6 +48,8 @@ func runVal(line any, stack stack) (any, ArErr) {
return runVal(x.VAL, stack)
case operationType:
return runOperation(x, stack)
case ArDelete:
return runDelete(x, stack)
}
fmt.Println("unreachable", reflect.TypeOf(line))
panic("unreachable")