Safe Haskell | Safe-Infered |
---|
a general code generator definition.
- generate :: Ready v g => Setup v g -> OM v g Annotation -> [(FilePath, Text)]
- generateIO :: Ready v g => Setup v g -> OM v g Annotation -> IO [(FilePath, Text)]
Documentation
generate :: Ready v g => Setup v g -> OM v g Annotation -> [(FilePath, Text)]Source
Generate the (filename, content) list from a code generation setup and a orthotope machine definition.
generateIO :: Ready v g => Setup v g -> OM v g Annotation -> IO [(FilePath, Text)]Source
Perform the code generation and returns the list of written filepaths and their contents, for your interest.