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

Slab.PreProcess

Description

Slab.PreProcess recursively parses files, following includes and imports. This is also responsible of reading JSON files referenced in the expression language.

Synopsis

Documentation

data Context Source #

Constructors

Context 

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

Similar to parseFile but pre-process the include statements.