on master help sign in
* exporting QuasiQuoters again :-)
ccc9bdaVincent Ambo
elm/Elm.cabal+9−4
@@ -29,8 +29,9 @@ source-repository head
29 location: git://github.com/evancz/Elm.git
29 location: git://github.com/evancz/Elm.git
30
30
31Library
31Library
32− exposed-modules: Language.Elm
32+ exposed-modules: Language.Elm,
33+ Language.Elm.Quasi
33− ghc-options: -O2
34+ ghc-options: -O2 -Wall
34 Hs-Source-Dirs: src, src/Parse, src/Types
35 Hs-Source-Dirs: src, src/Parse, src/Types
35 other-modules: Ast,
36 other-modules: Ast,
36 CompileToJS,
37 CompileToJS,
@@ -60,11 +61,15 @@ Library
60 parsec >= 3.1.1,
61 parsec >= 3.1.1,
61 blaze-html == 0.5.0.*,
62 blaze-html == 0.5.0.*,
62 blaze-markup == 0.5.1.*,
63 blaze-markup == 0.5.1.*,
63− deepseq
64+ deepseq,
65+ text,
66+ attoparsec >= 0.10,
67+ template-haskell,
68+ haskell-src-meta
64
69
65Executable elm
70Executable elm
66 Main-is: Compiler.hs
71 Main-is: Compiler.hs
67− ghc-options: -O2
72+ ghc-options: -O2 -Wall
68 Hs-Source-Dirs: src, src/Parse, src/Types
73 Hs-Source-Dirs: src, src/Parse, src/Types
69 other-modules: Ast,
74 other-modules: Ast,
70 CompileToJS,
75 CompileToJS,
elm/src/Language/Elm.hs+5−1
@@ -8,13 +8,17 @@
8-}
8-}
9module Language.Elm (
9module Language.Elm (
10 toHtml,
10 toHtml,
11− toParts) where
11+ toParts,
12+ elm,
13+ elmFile) where
12
14
13import CompileToJS
15import CompileToJS
14import ExtractNoscript
16import ExtractNoscript
15import GenerateHtml
17import GenerateHtml
16import Initialize
18import Initialize
17import Text.Blaze.Html (Html)
19import Text.Blaze.Html (Html)
20+import Language.Elm.Quasi
21+
18
22
19-- |This function compiles Elm code into a full HTML page.
23-- |This function compiles Elm code into a full HTML page.
20--
24--