about summary refs log tree commit diff
path: root/tvix/eval/src/value
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-10T17·23+0300
committertazjin <tazjin@tvl.su>2022-08-25T11·07+0000
commit322ce36cea732619c50220fc93f0eba51cf2eb8d (patch)
treed66080da9183cb0b375976f86dd8b269a884fb2d /tvix/eval/src/value
parent8150803e77fb749bb331cf4072ebc9e87d3d0e96 (diff)
refactor(tvix/vm): use a macro to handle binary arithmetic operators r/4471
Instead of constructing another runtime value representing the pair on
which to perform arithmetic, implement the same logic in the shape of
a macro.

This is designed to be compatible with operators like `+` that work
both as an arithmetic operator AND as an operator on another pair of
types.

Change-Id: I1c83649ead6117f811f1fb45482d0cadf811125e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6136
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/value')
0 files changed, 0 insertions, 0 deletions