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

Safe HaskellTrustworthy
LanguageHaskell2010

Web.Simple.Templates.Parser

Description

Language parser

Synopsis

Documentation

reservedWords :: [Text] Source #

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

pAST :: Parser AST Source #

Parse an AST

pExpr :: Parser AST Source #

Anything that can be evaluated: for, if or value

pValue :: Parser AST Source #

A variable, function call, literal, etc