3 version: 0.2.0.20210703
4 synopsis: Parser combinators statically optimized and staged via typed meta-programming
6 This is a work-in-progress experimental library to generate parsers,
7 leveraging Tagless-Final interpreters and Typed Template Haskell staging.
9 This is an alternative but less powerful/reviewed
10 implementation of [ParsleyHaskell](https://github.com/J-mie6/ParsleyHaskell).
11 See the paper by Jamie Willis, Nicolas Wu, and Matthew Pickering,
12 admirably well presented at ICFP-2020: [Staged Selective Parser Combinators](https://icfp20.sigplan.org/details/icfp-2020-papers/20/Staged-Selective-Parser-Combinators).
13 license: AGPL-3.0-or-later
14 author: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
15 maintainer: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
16 bug-reports: https://mails.sourcephile.fr/inbox/symantic-parser
17 copyright: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
18 stability: experimental
32 parsers/Parsers/Brainfuck/inputs/*.bf
37 tested-with: GHC==9.0.1
39 source-repository head
41 location: git://git.sourcephile.fr/haskell/symantic-parser
44 description: Dump GHC's Core in HTML
48 flag disable-ormolu-check
49 description: Remove ormolu from build-tool-depends.
50 Temporary hack while Nixpkgs' haskellPackages.ormolu remains broken.
55 default-language: Haskell2010
60 -Wincomplete-uni-patterns
61 -Wincomplete-record-updates
65 -fprint-potential-instances
66 ghc-prof-options: -eventlog -fprof-auto
73 Language.Haskell.TH.HideName
74 Language.Haskell.TH.Show
76 Symantic.Parser.Grammar
77 Symantic.Parser.Grammar.Combinators
78 Symantic.Parser.Grammar.Fixity
79 Symantic.Parser.Grammar.ObserveSharing
80 Symantic.Parser.Grammar.Optimize
81 Symantic.Parser.Grammar.Production
82 Symantic.Parser.Grammar.View
83 Symantic.Parser.Grammar.Write
84 Symantic.Parser.Machine
85 Symantic.Parser.Machine.Generate
86 Symantic.Parser.Machine.Input
87 Symantic.Parser.Machine.Instructions
88 Symantic.Parser.Machine.Optimize
89 Symantic.Parser.Machine.Program
90 Symantic.Parser.Machine.View
93 Symantic.Typed.Letable
103 GeneralizedNewtypeDeriving,
105 MultiParamTypeClasses,
121 -- Needed to use Language.Haskell.Ppr.Lib.pprExp
123 template-haskell >= 2.16,
129 -- visibility: public
131 hs-source-dirs: parsers
133 Parsers.Brainfuck.Attoparsec
134 Parsers.Brainfuck.Handrolled
135 Parsers.Brainfuck.SymanticParser
136 Parsers.Brainfuck.SymanticParser.Grammar
137 Parsers.Brainfuck.Types
141 Parsers.Utils.Handrolled
142 Parsers.Utils.Attoparsec
143 Parsers.Utils.Attoparsec.Text
149 GeneralizedNewtypeDeriving,
151 MultiParamTypeClasses,
161 containers >= 0.5.10.1,
172 template-haskell >= 2.16,
178 test-suite symantic-parser-test
180 type: exitcode-stdio-1.0
193 Paths_symantic_parser
195 Paths_symantic_parser
196 ghc-prof-options: -fexternal-interpreter
199 symantic-parser:parsers,
202 -- Needed for exported Data.Map.Internal
203 containers >= 0.5.10.1,
213 template-haskell >= 2.16,
214 -- th-lift-instances >= 0.1.17,
219 -- QuickCheck >= 2.0,
223 if !flag(disable-ormolu-check)
227 build-depends: dump-core
228 ghc-options: -fplugin=DumpCore
230 benchmark symantic-parser-benchmark
232 type: exitcode-stdio-1.0
233 hs-source-dirs: benchmarks
235 default-language: Haskell2010
238 Paths_symantic_parser
240 Paths_symantic_parser
242 ghc-options: -fno-enable-th-splice-warnings
243 ghc-prof-options: -fexternal-interpreter
247 symantic-parser:parsers,
256 template-haskell >= 2.16,