Paraiso-0.3.1.5: a code generator for partial differential equations solvers.

Safe HaskellNone
LanguageHaskell2010

Language.Paraiso.Generator

Description

a general code generator definition.

Synopsis

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.