on 162fc17 help sign in
55 lines 1.0 kB history raw
1-- |
2-- Module : Streamly.Unicode.Parser
3-- Copyright : (c) 2021 Composewell Technologies
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
6-- Stability : released
7-- Portability : GHC
8--
9-- To parse a text input, use the decode routines from
10-- "Streamly.Unicode.Stream" module to convert an input byte stream to a
11-- Unicode Char stream and then use these parsers on the Char stream.
13module Streamly.Unicode.Parser
14 (
15 -- * Generic
16 char
17 , charIgnoreCase
19 -- * Sequences
20 , string
21 , stringIgnoreCase
22 , dropSpace
23 , dropSpace1
25 -- * Classes
26 , alpha
27 , alphaNum
28 , letter
29 , ascii
30 , asciiLower
31 , asciiUpper
32 , latin1
33 , lower
34 , upper
35 , mark
36 , printable
37 , punctuation
38 , separator
39 , space
40 , symbol
42 -- * Digits
43 , digit
44 , octDigit
45 , hexDigit
46 , numeric
48 -- * Numbers
49 , signed
50 , decimal
51 , hexadecimal
52 )
53where
55import Streamly.Internal.Unicode.Char.Parser