slab-0.0.2.0: A programmable markup language to generate HTML
Safe HaskellSafe-Inferred
LanguageHaskell2010

Slab.Execute

Description

Slab.Execute implements the execution stage of Slab, i.e. running external commands (for instance referenced by the run syntax). This is done after the evaluation stage (implemented in Slab.Evaluate).

After execution, the resulting blocks can be rendered to HTML by Slab.Render.

Synopsis

Documentation

executeFile :: FilePath -> IO (Either Error [Block]) Source #

Similar to evaluateFile but run external commands.