snix/tvix/eval/src
Vincent Ambo ccf9dd651b refactor(tvix/eval): clean up representation flip in bindings
When encountering a nested binding for the first time, cleanly flip
the representation to `Binding::Set` in `Binding::merge` before
proceeding with the actual merge.

This reduces the number of points where we have to deal with the (soon
to be slightly more complex) construction of the nested binding
representation.

Change-Id: Ifd43aac7b59ebd15a72c3ec512386a5bcf26ec13
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6802
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-09-29 17:46:02 +00:00
..
builtins chore(tvix/eval): fix all current clippy lints 2022-09-29 11:47:47 +00:00
compiler refactor(tvix/eval): clean up representation flip in bindings 2022-09-29 17:46:02 +00:00
tests feat(tvix/eval): merge attribute sets in bindings 2022-09-29 17:46:02 +00:00
value chore(tvix/eval): remove existing nested key implementation 2022-09-29 11:47:47 +00:00
chunk.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
errors.rs feat(tvix/eval): add error kind for unmergeable nested attributes 2022-09-29 17:46:02 +00:00
eval.rs refactor(tvix/eval): use Clap for arg+env parsing 2022-09-18 22:08:43 +00:00
lib.rs refactor(tvix/eval): use Clap for arg+env parsing 2022-09-18 22:08:43 +00:00
main.rs refactor(tvix/eval): use Clap for arg+env parsing 2022-09-18 22:08:43 +00:00
observer.rs refactor(tvix/eval): use CodeIdx wrapper for instruction pointer 2022-09-13 14:41:57 +00:00
opcode.rs chore(tvix/eval): remove existing nested key implementation 2022-09-29 11:47:47 +00:00
properties.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
test_utils.rs test(tvix/eval): Add proof-of-concept test for Chunk 2022-09-18 17:55:06 +00:00
upvalues.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
vm.rs chore(tvix/eval): remove existing nested key implementation 2022-09-29 11:47:47 +00:00
warnings.rs feat(tvix/eval): implement legacy let syntax 2022-09-16 18:13:26 +00:00