snix/tvix/eval/src/value
Vincent Ambo 7442558b33 refactor(tvix/eval): keep globals alive through VM struct
This forces users to pass the fully constructed set of globals to the
VM, making it harder to accidentally "lose" the set while weak
references to it still exist.

This doesn't modify any functionality, but is laying the foundation
for simplifying some of the builtins behaviour that has grown more
complex again.

Change-Id: I5120f97861c65dc46d90b8a4e2c92ad32cc53e03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7877
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2023-01-20 22:48:13 +00:00
..
attrs refactor(tvix/eval): keep globals alive through VM struct 2023-01-20 22:48:13 +00:00
arbitrary.rs refactor(tvix/value): use proptest strategies from imbl crate 2023-01-17 10:20:38 +00:00
attrs.rs refactor(tvix/value): use proptest strategies from imbl crate 2023-01-17 10:20:38 +00:00
builtin.rs feat(tvix/eval): Add docstrings as documentation for builtins 2022-11-08 13:42:37 +00:00
function.rs fix(tvix/eval): fix current clippy warnings 2022-12-25 18:25:06 +00:00
list.rs refactor(tvix/value): use proptest strategies from imbl crate 2023-01-17 10:20:38 +00:00
mod.rs refactor(tvix/eval): keep globals alive through VM struct 2023-01-20 22:48:13 +00:00
path.rs refactor(tvix/eval): factor out all calls to canon_path 2022-10-13 09:07:47 +00:00
string.rs feat(tvix/eval): implement builtins.toJSON 2023-01-12 10:42:44 +00:00
thunk.rs feat(tvix/eval): add error contexts to annotate error kinds 2023-01-20 15:39:51 +00:00