syntactic-0.5: Generic abstract syntax, and utilities for embedded languages

Language.Syntactic.Analysis.Evaluation

Documentation

class Eval expr whereSource

Methods

evaluate :: expr a -> aSource

Evaluation of expressions

Instances

Eval Sym 
Eval dom => Eval (AST dom) 
Eval (Literal ctx) 
Eval (Condition ctx) 
Eval (Select ctx) 
Eval (Tuple ctx) 
(Eval expr1, Eval expr2) => Eval (:+: expr1 expr2) 
Eval expr => Eval (Ann info expr) 
Eval (Let ctxa ctxb) 

evalFull :: Eval dom => ASTF dom a -> aSource