Currently, all instructions take a fixed set of operands.
It is impossible to encode an instruction that adds 1 to 2 without first encoding instructions to spawn objects representing 1 and 2, even if 1 and 2 are small enough to be immediate values.
It is also necessary to have two instructions for function calls - call for calling atoms, and fcall for calling function objects.
This issue proposes implementing CBOR-based encoding for instruction types.
Currently, all instructions take a fixed set of operands.
It is impossible to encode an instruction that adds 1 to 2 without first encoding instructions to spawn objects representing 1 and 2, even if 1 and 2 are small enough to be immediate values. It is also necessary to have two instructions for function calls -
call
for calling atoms, andfcall
for calling function objects.This issue proposes implementing CBOR-based encoding for instruction types.