35 if (
a.type ==
b.type) {
41 neq = ((
a.i != 0) != (
b.i != 0));
44 neq = (
a.s &&
b.s) ? (strcmp(
a.s,
b.s) != 0) : (
a.s !=
b.s);
59 int ai = (
a.type ==
VAL_BOOL) ? (
a.i != 0) : (
a.i != 0);
60 int bi = (
b.type ==
VAL_BOOL) ? (
b.i != 0) : (
b.i != 0);
Tagged union representing a Fun value.
Value make_bool(int v)
Construct a boolean 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.