What about 7 fields instead of 9? :)
type
Node = object
name, op: char
val: int
case nt: NodeType
of BinaryNode:
blidx, bridx: Natural
of UnaryNode:
ulidx: Natural
else: discard
Run
- Object Variant question lewisl
- Object Variant question georgelemon
- Object Variant question lewisl
- Object Variant question PMunch
