Documentation
¶
Overview ¶
hyperstencil is a code generator for generating full specializations of generic functions.
This generator looks for directives of the form
//stencil:generate Name Func[...] A -> B...
Name is the name of the generated function, Func is the generic function that is being copied, and [...] are the explicit generic arguments. The A -> B allow for renaming symbols within the function to specialized versions.
Generated functions are placed in a file called _stencils.go. All files in a package are processed in one go.
Click to show internal directories.
Click to hide internal directories.