xo-interpreter2 stack: + dict type + pop more pm types

This commit is contained in:
Roland Conybeare 2026-03-16 09:03:24 -05:00
commit bc4f80e29b
3 changed files with 41 additions and 6 deletions

View file

@ -28,7 +28,9 @@ namespace xo {
case code::t_array: return "array";
case code::t_function: return "function";
case code::t_struct: return "struct";
case code::t_dict: return "dict";
case code::t_integer: return "integer";
case code::t_numeric: return "numeric";
case code::t_any: return "any";
}
@ -68,7 +70,11 @@ namespace xo {
return false;
case code::t_struct:
return false;
case code::t_dict:
return true;
case code::t_integer:
return true;
case code::t_numeric:
return true;
case code::t_any: