snix/tvix/eval/src
Vincent Ambo 70113407d2 refactor(tvix/eval): implement ToSpan directly for rnix::TextRange
This logic was duplicated between the two rnix types before, but more
crucially - it is also needed for correctly displaying the text ranges
contained in syntax errors.

Change-Id: Ifc6a521de1594d6ced9cba6274f1931df99b6634
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6870
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-10-08 10:58:42 +00:00
..
builtins feat(tvix/eval): coerce values to paths when importing 2022-10-07 14:24:36 +00:00
compiler refactor(tvix/eval): move spans module to crate root 2022-10-08 10:58:42 +00:00
tests feat(tvix/eval): implement tvix's user-agent, err, nixVersion 2022-10-05 13:07:55 +00:00
value refactor(tvix/eval): builtins now contain closures 2022-10-06 15:22:32 +00:00
chunk.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
errors.rs feat(tvix/eval): coerce values to paths when importing 2022-10-07 14:24:36 +00:00
eval.rs feat(tvix/eval): add method for emitting runtime warnings 2022-10-07 14:24:36 +00:00
lib.rs refactor(tvix/eval): move spans module to crate root 2022-10-08 10:58:42 +00:00
main.rs feat(tvix/eval): use fancy error formatting in REPL 2022-10-04 21:04:03 +00:00
observer.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +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
source.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
spans.rs refactor(tvix/eval): implement ToSpan directly for rnix::TextRange 2022-10-08 10:58:42 +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 feat(tvix/eval): add method for emitting runtime warnings 2022-10-07 14:24:36 +00:00
warnings.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00