simple-templates-0.7.0.1: A basic template language for the Simple web framework

Safe HaskellTrustworthy

Web.Simple.Templates.Parser

Description

Language parser

Synopsis

Documentation

reservedWords :: [Text]Source

Reserved words: for, endfor, sep, if, else, endif, true, false

pAST :: Parser ASTSource

Parse an AST

pExpr :: Parser ASTSource

Anything that can be evaluated: for, if or value

pValue :: Parser ASTSource

A variable, function call, literal, etc