Safe Haskell | Safe-Inferred |
---|
HERMIT Expressions
This is the untyped command and control language for HERMIT.
A simple expression language AST, for things parsed from String
or JSON structures.
Nested lists to represent scoping structure.
parseStmtsH :: String -> Either String [StmtH ExprH]Source
Parse a list of statements, seperated by semicolons.
unparseExprH :: ExprH -> StringSource
unparseStmtH :: StmtH ExprH -> StringSource
unparseStmtsH :: [StmtH ExprH] -> StringSource