snix/tvix/eval/src
Vincent Ambo 691a596aac feat(tvix/eval): compile simple let ... in ... expressions
These expressions now leave the binding values on the stack, and clean
up the scope after the body of the expression.

While variable access is not yet implemented (as the identifier node
remains unhandled), this already gives us the correct stack behaviour.

Change-Id: I138c20ace9c64502c94b2c0f99a6077cd912c00d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6188
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-08-28 17:50:34 +00:00
..
tests feat(tvix/eval): resolve relative path literals 2022-08-28 11:02:15 +00:00
value chore(tvix/eval): add variant_size_differences warning to Value 2022-08-27 09:27:13 +00:00
chunk.rs refactor(tvix/eval): rename Chunk::add_* functions to ::push_* 2022-08-27 09:27:13 +00:00
compiler.rs feat(tvix/eval): compile simple let ... in ... expressions 2022-08-28 17:50:34 +00:00
errors.rs refactor(tvix/eval): implement error variant for path resolution 2022-08-28 11:02:15 +00:00
eval.rs feat(tvix/eval): resolve relative path literals 2022-08-28 11:02:15 +00:00
lib.rs feat(tvix/eval): add mechanism for emitting warnings from compiler 2022-08-26 17:19:51 +00:00
main.rs feat(tvix/eval): resolve relative path literals 2022-08-28 11:02:15 +00:00
opcode.rs feat(tvix/eval): compile simple let ... in ... expressions 2022-08-28 17:50:34 +00:00
vm.rs feat(tvix/eval): compile simple let ... in ... expressions 2022-08-28 17:50:34 +00:00
warnings.rs feat(tvix/eval): add warning for deprecated URL literals 2022-08-26 17:19:51 +00:00