tvl-depot/tvix/eval/builtin-macros
Griffin Smith 76d7671c8a feat(tvix/eval): Add docstrings as documentation for builtins
Add a new `documentation: Option<&'static str>` field to Builtin, and
populate it in the `#[builtins]` macro with the docstring of the builtin
function, if any.

Change-Id: Ic68fdf9b314d15a780731974234e2ae43f6a44b0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7205
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-11-08 13:42:37 +00:00
..
src feat(tvix/eval): Add docstrings as documentation for builtins 2022-11-08 13:42:37 +00:00
tests feat(tvix/eval): Add docstrings as documentation for builtins 2022-11-08 13:42:37 +00:00
.gitignore feat(tvix/eval): Add a proc-macro for defining builtins 2022-11-08 13:42:37 +00:00
Cargo.lock feat(tvix/eval): Add a proc-macro for defining builtins 2022-11-08 13:42:37 +00:00
Cargo.toml feat(tvix/eval): Add a proc-macro for defining builtins 2022-11-08 13:42:37 +00:00