Currently, implementation of builtins procedurally checks validity of arguments, and interface documentation has to be written manually.
Solution proposal
Create a data structure that represents language values and use that when registering primops; automatically generate interface documentation from that.
Problem statement
Currently, implementation of
builtins
procedurally checks validity of arguments, and interface documentation has to be written manually.Solution proposal
Create a data structure that represents language values and use that when registering primops; automatically generate interface documentation from that.
Related