$set/val
vWarning
This function is declared internal, so there are no guarantees whatsoever regarding its existence or functionality.
Have fun playing around with the internals but please try not to use any of these in any library or application.
Summary
(v) -> (v) --- Resolve V and get the associated value on the stack
Bytecode
Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.
( 0 ($push/val :symbol)) ( 2 ($get/val 'type-of)) ( 4 ($get/val 'v)) ( 6 ($apply 1)) ( 8 ($=)) ( 9 ($jf* 7)) ( 12 ($push/nil)) ( 13 ($jmp* 21)) ( 16 ($get/val 'throw)) ( 18 ($get/val 'list)) ( 20 ($push/val :invalid-bc-op)) ( 22 ($push/val Can only get symbol)) ( 24 ($get/val 'v)) ( 26 ($get/val 'current-lambda)) ( 28 ($apply 0)) ( 30 ($apply 4)) ( 32 ($apply 1)) ( 34 ($drop)) ( 35 ($get/val 'list)) ( 37 ($push/val #$5)) ( 39 ($get/val 'list)) ( 41 ($push/val :literal)) ( 43 ($get/val 'v)) ( 45 ($apply 2)) ( 47 ($apply 2)) ( 49 ($ret))