language-puppet-0.1.6: Tools to parse and evaluate the Puppet DSL.

Safe HaskellSafe-Infered

Puppet.DSL.Printer

Synopsis

Documentation

showAST :: [Statement] -> StringSource

This shows the parsed AST a bit like the original syntax.

showVarMap :: Map String (Expression, SourcePos) -> StringSource

Useful for displaying a map of variables.