about summary refs log tree commit diff
path: root/tvix/eval/src/tests
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-12-08T21·15+0300
committerclbot <clbot@tvl.fyi>2022-12-21T13·09+0000
commitd101151fc58c9ec8bbc6e39c6c29ebfc7f538473 (patch)
tree0edbebdab44c1464769950a597c2bc01670359e3 /tvix/eval/src/tests
parent3843b46348510665740dc412ca125a25995dc986 (diff)
feat(tvix/eval): begin introducing new public API r/5438
A step towards something more like how I imagine the future public API
for tvix-eval. Please note that this is definitely not the final
version yet, but it's better than the previous API that either exposed
a side-effecting blackbox, or a very low-level "interface".

The basic idea is that an evaluation of some Nix code is requested by
a caller with various parameters, but not all callers are interested
in all of these parameters.

There are also some bits of information that are returned from an
evaluation that are not necessarily relevant to all callers.

To support this somewhat ergonomically, the API is built around an
`Evaluation` struct that is configured by the caller with the various
parameters and then "executed".

Change-Id: I71826f3897126898adc2873d31c44d3eaf5c2be0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7542
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests')
0 files changed, 0 insertions, 0 deletions