36 fprintf(stderr,
"Runtime type error: MOD expects ints, got %s and %s\n",
41 fprintf(stderr,
"Runtime error: modulo by zero\n");
Tagged union representing a Fun value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.
static const char * value_type_name(ValueType t)
Get a human-readable name for a ValueType.