3 maintainer: mailto:literate-web@sourcephile.fr
4 bug-reports: https://mails.sourcephile.fr/inbox/literate-web
5 homepage: https://git.sourcephile.fr/literate-web.git
6 author: Julien Moutinho <julm+literate-web@sourcephile.fr>
7 copyright: Julien Moutinho <julm+literate-web@sourcephile.fr>
8 license: AGPL-3.0-or-later
9 license-file: LICENSES/AGPL-3.0-or-later.txt
11 -- PVP: +-+------- breaking API changes
12 -- | | +----- non-breaking API additions
13 -- | | | +--- code changes with no API change
14 version: 0.0.0.20240908
15 stability: experimental
17 synopsis: Haskell-website compiler
19 Exploring the design space of static, live and dynamic website generators
20 by using a domain-specific language (DSL)
21 embedded into the Haskell language.
25 * <https://hackage.haskell.org/package/ema ema>
28 tested-with: GHC ==9.6.7
29 extra-doc-files: ChangeLog.md
36 www/live-indicator.html
41 source-repository head
43 location: git://git.sourcephile.fr/haskell/literate-web.git
45 common haskell-variant
46 default-language: Haskell2010
74 -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
75 -Wmonomorphism-restriction -Wpartial-fields
76 -fprint-potential-instances
101 , unicode-transforms >=0.2
102 , unordered-containers
105 , wai-middleware-static
114 -- , pipes-concurrency
120 import: haskell-variant, library-deps
125 Literate.Web.Live.Asset
126 Literate.Web.Live.Common
127 Literate.Web.Live.HTTP
128 Literate.Web.Live.WebSocket
129 Literate.Web.Semantics.Addresser
130 Literate.Web.Semantics.Compiler
131 Literate.Web.Syntaxes
132 Literate.Web.Types.MIME
133 Literate.Web.Types.URL
135 --Literate.Web.Semantics.Server
136 --Literate.Web.Semantics.Client
137 --Literate.Web.Decoder
138 --Literate.Web.Encoder
139 --Literate.Web.Generator
143 -- import: haskell-variant, library-deps
144 -- hs-source-dirs: src
147 -- , contravariant >=1.5
153 -- Control.Reactive.IORef
154 -- Control.Reactive.MVar
155 -- Control.Reactive.Relation
156 -- Control.Reactive.STRef
157 -- Control.Reactive.TVar
158 -- Control.Reactive.Value
160 test-suite literate-web-tests
161 -- library-deps is only to have ghcid reloaded on changes in src
162 import: haskell-variant, library-deps
163 type: exitcode-stdio-1.0
164 hs-source-dirs: tests
176 autogen-modules: Paths_literate_web
183 , symantic-base >=0.5
190 -- , relude >=1 && <2
192 -- import: haskell-variant, library-deps
193 -- type: exitcode-stdio-1.0
194 -- hs-source-dirs: benchmarks/time
197 -- , base >=4.6 && <5
203 -- -- Set a larger allocation area (nursery)
204 -- -- to remove some noisiness of the garbage collection.
205 -- ghc-options: -with-rtsopts=-A32m
208 -- import: haskell-variant, library-deps
209 -- type: exitcode-stdio-1.0
210 -- hs-source-dirs: benchmarks/weigh src
213 -- , contravariant >=1.5
218 -- , base >=4.6 && <5
223 -- import: haskell-variant, library-deps
224 -- hs-source-dirs: executables/async
228 -- , base >=4.6 && <5
237 -- executable fsnotify
238 -- import: haskell-variant, library-deps
239 -- hs-source-dirs: executables/fsnotify
243 -- , base >=4.6 && <5