diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-23T21·01+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-01T21·56+0000 |
commit | fc865eb157380fa5d2c779bd0cc207b73a514572 (patch) | |
tree | 42d5462ce13bffa4ede04dba69aa642586e09026 /third_party/cgit | |
parent | 9d1451773b543b076d33c8eadcd65d1ef6483f9f (diff) |
refactor(tvix/eval): introduce LambdaCtx structure to compiler r/4580
This structure carries context about the lambda currently being compiled (which may well be the top-level lambda of an input AST). Using the indirection helpers in the compiler, things like the scope, code and constants of the function being compiled are now taken from the current lambda context instead. Change-Id: If5f864d826c2e72855cee4b728ea1830e9b5ac06 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6246 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'third_party/cgit')
0 files changed, 0 insertions, 0 deletions