File tree 7 files changed +61
-0
lines changed
7 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1
1
Copyright (c) 2014, Manuel M T Chakravarty
2
+ Copyright (c) 2014, Maxwell Swadling
2
3
All rights reserved.
3
4
4
5
Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change
1
+ module Language.Swift.Quote (
2
+ module Language.Swift.Quote.Syntax ,
3
+ module Language.Swift.Quote.Parser ,
4
+ module Language.Swift.Quote.Pretty
5
+ ) where
6
+
7
+ import Language.Swift.Quote.Syntax
8
+ import Language.Swift.Quote.Parser
9
+ import Language.Swift.Quote.Pretty
Original file line number Diff line number Diff line change
1
+ module Language.Swift.Quote.Parser where
2
+
3
+ import Language.Swift.Quote.Syntax
4
+
5
+ import Data.Text (Text )
6
+ import Text.Parsec
7
+ import Text.Parsec.Text
8
+
9
+ parse :: Text -> Either String Module
10
+ parse input = Left " unimplemented"
Original file line number Diff line number Diff line change
1
+ module Language.Swift.Quote.Pretty where
2
+
3
+ import Language.Swift.Quote.Syntax
4
+
5
+ import Data.Text (Text )
6
+ import Text.PrettyPrint.Mainland
7
+
8
+ prettyPrint :: Module -> Text
9
+ prettyPrint = error " unimplemented"
Original file line number Diff line number Diff line change
1
+ module Language.Swift.Quote.Syntax where
2
+
3
+ import Data.Text (Text )
4
+
5
+ data Module = Module (Maybe Text )
Original file line number Diff line number Diff line change
1
+ import Distribution.Simple
2
+ main = defaultMain
Original file line number Diff line number Diff line change
1
+ name : language-swift-quote
2
+ version : 0.1.0.0
3
+ synopsis : QuasiQuotation support for Swift in Template Haskell
4
+ description : QuasiQuotation support for Swift in Template Haskell
5
+ license : BSD3
6
+ license-file : LICENSE
7
+ author : Manuel M T Chakravarty, Maxwell Swadling
8
+
9
+ copyright : (c) 2014, Manuel M T Chakravarty
10
+ (c) 2014, Maxwell Swadling
11
+ category : Language
12
+ build-type : Simple
13
+ extra-source-files : README.md
14
+ cabal-version : >= 1.10
15
+
16
+ library
17
+ exposed-modules : Language.Swift.Quote,
18
+ Language.Swift.Quote.Parser,
19
+ Language.Swift.Quote.Pretty,
20
+ Language.Swift.Quote.Syntax
21
+ build-depends : base >= 4.7 && < 4.8 ,
22
+ parsec == 3.1. *,
23
+ mainland-pretty == 0.2. *,
24
+ text == 1.1. *
25
+ default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments