-
Notifications
You must be signed in to change notification settings - Fork 0
/
inchworm.cabal
65 lines (53 loc) · 1.76 KB
/
inchworm.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: inchworm
version: 1.1.1.2
license: MIT
license-file: LICENSE
author: The Inchworm Development Team
maintainer: Ben Lippmeier <[email protected]>
build-Type: Simple
cabal-Version: >=1.6
stability: experimental
homepage: https://github.com/discus-lang/inchworm
category: Parsing
synopsis: Simple parser combinators for lexical analysis.
description: Parser combinator framework specialized to lexical analysis.
Tokens are specified via simple fold functions, and we include
baked in source location handling.
Comes with matchers for standard lexemes like integers,
comments, and Haskell style strings with escape handling.
No dependencies other than the Haskell 'base' library.
If you want to parse expressions instead of tokens then try
try the @parsec@ or @attoparsec@ packages, which have more
general purpose combinators.
extra-source-files:
Readme.md
Changelog.md
examples/lispy/*.hs
examples/mlish/*.hs
examples/mlish/Scanner/*.hs
source-repository head
type: git
location: https://github.com/discus-lang/inchworm.git
library
build-Depends:
base
exposed-modules:
Text.Lexer.Inchworm.Char
Text.Lexer.Inchworm.Scanner
Text.Lexer.Inchworm.Source
Text.Lexer.Inchworm
other-modules:
Text.Lexer.Inchworm.Combinator
ghc-options:
-Wall
-fno-warn-orphans
-fno-warn-type-defaults
-fno-warn-missing-methods
-fno-warn-redundant-constraints
extensions:
ParallelListComp
PatternGuards
RankNTypes
FlexibleContexts
KindSignatures
BangPatterns