about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-16T16·35+0300
committertazjin <tazjin@tvl.su>2022-09-16T18·12+0000
commit20230e1e2ddea5fd6e65d6d263444c46dc5e43db (patch)
treea301f194c26d595308ae72f9669aebcf9031aeb8 /users
parenta7e280ec004df8c9f38afa5cc3629b632e2b55ca (diff)
feat(tvix/eval): implement recursive attribute sets r/4876
Yep.

This is kind of ugly right now. The idea is that the recursive_scope
compilation function is used for recursive sets as well by emitting
the keys. The rest of the logic is pretty much identical.

There is quite a lot of code here that can be cleaned up (duplication
between attrs and let, duplication inside of the recursive scope
compilation function etc.), but I'd like to get it working first and
then make it nice.

Note that nested keys are *not* supported yet.

Change-Id: I45c7cdd5f0e1d35fd94797093904740af3a97134
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6610
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
0 files changed, 0 insertions, 0 deletions