drasil-gen-0.1.3.0: A framework for code and document generation for scientific software - Utils SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.Generator.Generate

Description

Defines Drasil generator functions.

Synopsis

Generators

exportSmithEtAlSrs :: System -> SRSDecl -> String -> IO () Source #

Generate an SRS softifact.

exportLessonPlan :: System -> LsnDecl -> String -> IO () Source #

Generate a JupyterNotebook-based lesson plan.

exportWebsite :: System -> Document -> Filename -> IO () Source #

Generate a "website" (HTML file) softifact.

exportSmithEtAlSrsWCode :: System -> SRSDecl -> String -> Choices -> [Mod] -> IO () Source #

Generate an SRS softifact with a specific solution softifact.

exportSmithEtAlSrsWCodeZoo :: System -> SRSDecl -> String -> [(Choices, [Mod])] -> IO () Source #

Generate an SRS softifact with a zoo of solution softifacts.

Internal Functions

codedDirName :: String -> Choices -> String Source #

Find name of folders created for a "zoo" of executable softifacts.

FIXME: This is a hack. The generation phase should emit what artifacts it created.