mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
about to start implimentation of if statments, and add not
This commit is contained in:
@@ -55,10 +55,12 @@ func runVal(line any, stack stack, stacklevel int) (any, ArErr) {
|
||||
return runOperation(x, stack, stacklevel+1)
|
||||
case dowrap:
|
||||
return runDoWrap(x, stack, stacklevel+1)
|
||||
case CallJumpStatment:
|
||||
return runJumpStatment(x, stack, stacklevel+1)
|
||||
case CallReturn:
|
||||
return runReturn(x, stack, stacklevel+1)
|
||||
case ArDelete:
|
||||
return runDelete(x, stack, stacklevel+1)
|
||||
case not:
|
||||
return runNot(x, stack, stacklevel+1)
|
||||
}
|
||||
fmt.Println("unreachable", reflect.TypeOf(line))
|
||||
panic("unreachable")
|
||||
|
||||
Reference in New Issue
Block a user