Tagged union representing a Fun value.
Value make_string(const char *s)
Construct a string Value by duplicating the given C string.
void free_value(Value v)
Free dynamic storage owned by a Value.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.
static void push_value(VM *vm, Value v)
Push a Value onto the VM operand stack.