hylo
hylo copied to clipboard
Use code generation to automate the definition of integer types
Val's integer types are defined in individual files under /Library/Val/Core
. Since all integer types (e.g., Int8
, Int16
) implement the same API, it's probably a good idea to use a code generator to produce all necessary definitions from a single template. Further, it should be possible to integrate such a code generation as part of the build steps of the project using SPM.