feat(tvix/eval): Add a proc-macro for defining builtins
Add a single new proc macro to a new proc-macro crate, `tvix-eval-proc-macros` for defining an inline module containing nix builtins, and automatically generating a function within that module which returns a list of those builtins as `tvix_eval::value::Builtin`. Change-Id: Ie4afae438914d2af93d15637151a49b4c68aa352 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7198 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: Adam Joseph <adam@westernsemico.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
cf82a545eb
commit
645d0c06e5
9 changed files with 1133 additions and 3 deletions
1
tvix/eval/builtin-macros/.gitignore
vendored
Normal file
1
tvix/eval/builtin-macros/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
target
|
||||
Loading…
Add table
Add a link
Reference in a new issue