3 version: 0.1.0.20210201
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
12 Pickering, admirably well presented at ICFP-2020: [Staged
14 Combinators](https://icfp20.sigplan.org/details/icfp-2020-papers/20/Staged-Selective-Parser-Combinators).
15 license: AGPL-3.0-or-later
16 author: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
17 maintainer: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
18 bug-reports: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
19 copyright: Julien Moutinho <julm+symantic-parser@sourcephile.fr>
20 stability: experimental
34 --test/Golden/**/*.txt
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
49 description: Dump code generated by Template Haskell
54 default-language: Haskell2010
61 -Wincomplete-uni-patterns
62 -Wincomplete-record-updates
79 Symantic.Parser.Grammar
80 Symantic.Parser.Grammar.Combinators
81 Symantic.Parser.Grammar.Fixity
82 Symantic.Parser.Grammar.ObserveSharing
83 Symantic.Parser.Grammar.Optimize
84 Symantic.Parser.Grammar.View
85 Symantic.Parser.Grammar.Write
86 Symantic.Parser.Haskell
87 Symantic.Parser.Haskell.Optimize
88 Symantic.Parser.Haskell.Term
89 Symantic.Parser.Haskell.View
90 Symantic.Parser.Machine
91 Symantic.Parser.Machine.Generate
92 --Symantic.Parser.Machine.Horizon
93 Symantic.Parser.Machine.Input
94 Symantic.Parser.Machine.Instructions
95 Symantic.Parser.Machine.Optimize
96 Symantic.Parser.Machine.Program
97 Symantic.Parser.Machine.View
98 Symantic.Univariant.Letable
99 Symantic.Univariant.Trans
106 GeneralizedNewtypeDeriving,
108 MultiParamTypeClasses,
123 template-haskell >= 2.16,
128 test-suite symantic-parser-test
130 type: exitcode-stdio-1.0
147 -- Paths_symantic_parser
151 -- Paths_symantic_parser
154 -fexternal-interpreter
160 -- Needed for exported Data.Map.Internal
161 containers >= 0.5.10.1,
172 template-haskell >= 2.16,
173 -- th-lift-instances >= 0.1.17,
179 -- QuickCheck >= 2.0,
184 build-depends: dump-core
185 ghc-options: -fplugin=DumpCore
186 if flag(dump-splices)