ZipperAG-0.7: An implementationg of Attribute Grammars using Functional Zippers

Safe HaskellNone

Language.Grammars.ZipperAG.Examples.SmartParentesis

Documentation

data Root Source

Constructors

Root Exp 

data Exp Source

Constructors

Add Exp Exp 
Mul Exp Exp 
Div Exp Exp 
Sub Exp Exp 
Lit Int 

Instances

wrapInParens :: (Eq a1, Ord a) => a -> a -> a1 -> a1 -> BoolSource