diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-16T16·35+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-16T18·12+0000 |
commit | 20230e1e2ddea5fd6e65d6d263444c46dc5e43db (patch) | |
tree | a301f194c26d595308ae72f9669aebcf9031aeb8 /third_party/hii | |
parent | a7e280ec004df8c9f38afa5cc3629b632e2b55ca (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 'third_party/hii')
0 files changed, 0 insertions, 0 deletions