snix/tvix/eval/src/value
Griffin Smith 5eb89be682 feat(tvix/eval): Implement builtins.fromJSON
Using `serde_json` for parsing JSON here, plus an `impl FromJSON for
Value`. The latter is primarily to stay "dependency light" for now -
likely going with an actual serde `Deserialize` impl in the future is
going to be way better as it allows saving significantly on intermediary
allocations.

Change-Id: I152a0448ff7c87cf7ebaac927c38912b99de1c18
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6920
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-10-15 20:35:22 +00:00
..
attrs feat(tvix/eval): Initial resolution of <...> paths 2022-10-10 20:23:41 +00:00
arbitrary.rs refactor(tvix/eval): Encapsulate Value::Attrs construction 2022-10-08 19:02:25 +00:00
attrs.rs feat(tvix/eval): Implement builtins.fromJSON 2022-10-15 20:35:22 +00:00
builtin.rs refactor(tvix/eval): builtins now contain closures 2022-10-06 15:22:32 +00:00
function.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
list.rs refactor(tvix/eval): implement IntoIterator for NixList 2022-10-03 07:53:21 +00:00
mod.rs feat(tvix/eval): Implement builtins.fromJSON 2022-10-15 20:35:22 +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.readFile 2022-10-10 23:38:25 +00:00
thunk.rs fix(tvix/eval): Actually trace spans for thunks 2022-10-10 23:51:09 +00:00