about summary refs log tree commit diff
path: root/tvix/eval/src/opcode.rs
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-10-13T20·41-0700
committerclbot <clbot@tvl.fyi>2022-10-18T09·38+0000
commit4b01e594d5d5cb806f6fe6eef1c30069748369cd (patch)
tree336e9686f50166f64995078c90ddbb8614f5016d /tvix/eval/src/opcode.rs
parent13a5e7dd5ba6a5e448390e5ceb7f41825e7593c2 (diff)
docs(tvix/eval): upvalues.rs: define "upvalue", comment with_stack r/5157
This commit adds a comment for the benefit of non-Lua-users
explaining what an upvalue is.  It also adds a comment explaining
what `with_stack` does, including a brief reminder of nix's
slightly-unusual-but-well-justified handling of this construct.

Signed-off-by: Adam Joseph <adam@westernsemico.com>
Change-Id: If6d0e133292451af906e1c728e34010f99be8c7c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7007
Reviewed-by: j4m3s <james.landrein@gmail.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/opcode.rs')
0 files changed, 0 insertions, 0 deletions