-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Contexpr are evaluated at the time when AST is built. In templated C++ library, we depend on the compiler to evaluate the information at compile time before lowering into machine code. For python bindings, often times there lacks a measure to extract information to query specifc values from the AST. astcanopy can provide an API that helps quering specific value from the API. Alternatively, astcanopy can perform certain codegen, transforming C++ constexpr code into python code so that they can be evaluated on host.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request