Not a big deal, but it's a little confusing. Should there be OP_CONSTANT_8, OP_CONSTANT_16, and OP_CONSTANT_24 instructions? I know it probably depends largely on the language, but it might be nice to know what the most common way of doing this is in popular language implementations.
See https://craftinginterpreters.com/compiling-expressions.html#parsers-for-tokens (Note) And https://craftinginterpreters.com/chunks-of-bytecode.html#challenges (Challenge 2)
Not a big deal, but it's a little confusing. Should there be
OP_CONSTANT_8
,OP_CONSTANT_16
, andOP_CONSTANT_24
instructions? I know it probably depends largely on the language, but it might be nice to know what the most common way of doing this is in popular language implementations.