Alex Humphreys
71a638ef28
Add extra parsers
...
This also changes the return type of `char` and `string`. They
previously returned `()`, they now return `Char` and `String`
repectively.
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
2020-11-27 11:54:12 +00:00
Alex Gryzlov
f79b86ae41
contrib.Data.String.Parser updates ( #713 )
2020-10-24 12:33:15 +01:00
Alex Gryzlov
969f5443a9
additional refactor of Data.String.Parser
2020-08-27 15:27:52 +01:00
Alex Gryzlov
ef5299733a
refactor Data.String.Parser ( #579 )
2020-08-22 08:13:34 +01:00
Alex Humphreys
f47d9cfef2
Add integer paser and extra test
...
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
2020-08-10 13:26:20 +02:00
Alex Humphreys
f020fd29e8
Use overloaded Fin literals
...
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
2020-08-10 13:26:20 +02:00
Alex Humphreys
d4cbb8a620
Move natural and digit combinators
...
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
2020-08-07 19:20:32 +02:00
Alex Humphreys
40427bd527
Move combinators to Data.String.Parser
2020-08-06 13:16:47 +02:00
Niklas Larsson
52c6db09d1
Add <?> for replacing error messages
2020-07-06 14:13:56 +02:00
Niklas Larsson
60a067fab1
Remove dumpState
2020-07-06 13:57:13 +02:00
Niklas Larsson
5060eaafaf
Make things public export to work with bootstrap
2020-07-05 21:51:12 +02:00
Niklas Larsson
af83c9303b
Add test and documentation
2020-07-05 21:51:12 +02:00
Niklas Larsson
d779c85df4
Add optional
2020-07-05 21:51:11 +02:00
Niklas Larsson
0e51124a43
Add option
2020-07-05 21:51:11 +02:00
Niklas Larsson
bba15974a5
Add takeWhile
...
add substring and length primitives to Data.Strings
2020-07-05 21:51:11 +02:00
Niklas Larsson
39535bf11a
Add lifting
2020-07-05 21:51:11 +02:00
Niklas Larsson
d97789190d
Add bounds checking
2020-07-05 21:51:11 +02:00
Niklas Larsson
f290c6c3ce
Start on a simple string parser
2020-07-05 21:51:11 +02:00