name: syntax-example version: 0.4.0.0 synopsis: Example application using syntax, a library for abstract syntax descriptions. description: Example application using syntax, a library for abstract syntax descriptions. . The code: . * . Example input: . > (\f-> > (\x > -> f ((x) x)) (\x > -> f (x x) > ) > (\x -> "test") > (\y -> y +2.0e13)) . Example output: . > Abs "f" (App (App (App (Abs "x" (App (Var "f") (App (Var "x") (Var "x")))) (Abs "x" (App (Var "f") (App (Var "x") (Var "x"))))) (Abs "x" (Lit (LitStr "test")))) (Abs "y" (App (Var "y") (Lit (LitNum 2.0e13))))) > \f -> (\x -> f (x x)) (\x -> f (x x)) (\x -> "test") (\y -> y 2.0e13) license: MIT license-file: LICENSE author: Paweł Nowak maintainer: Paweł Nowak copyright: Paweł Nowak 2014 category: Data build-type: Simple cabal-version: >=1.10 source-repository head type: git location: git@github.com:Pawel834/syntax-example.git executable syntax-example main-is: Main.hs build-depends: base >= 4 && < 5, lens, semi-iso >= 0.4, syntax >= 0.2, syntax-attoparsec >= 0.2, syntax-printer, attoparsec, text, scientific >= 0.3 default-language: Haskell2010