summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle types with more than 3 constructorsHEADmasterdefanor2019-03-192-1/+14
| | | | Particularly ((a :+: b) :+: (c :+: d)) combinations.
* Fix Test.hsdefanor2019-03-081-1/+1
| | | | | Newer Generic.Random exports Options, which interferes with Coalpit.Options.
* Edit descriptionsdefanor2019-03-083-13/+11
|
* Prepare for a Hackage releasedefanor2018-01-034-4/+8
| | | | | | | Increase version to 0.1.1.0, update years and ChangeLog, don't call it a prototype. Further breaking changes should increase versions accordingly.
* Fix a typodefanor2018-01-021-1/+1
|
* Test with GHC 8.2.2defanor2018-01-022-1/+2
|
* Document the 'Usage' type.defanor2017-12-241-0/+12
|
* Introduce 'Usage' structure.defanor2017-12-244-72/+91
| | | | | | Produce it with 'argHelper' first, then translate into a string -- so that it can be reused for other kinds of output, such as roff and texinfo.
* Update the exampledefanor2017-12-241-2/+2
|
* Remove Coalpit.IOdefanor2017-12-205-48/+28
| | | | | | | Better to focus on printing and parsing here, at least for now; besides, pipes are nice, but some may prefer other methods. The code is moved into an example instead.
* Cleanup Coalpit.IOdefanor2017-12-201-21/+8
| | | | | Remove 'pipe', 'producer', and 'consumer' functions: they don't seem to be very useful, and are quite limiting.
* Add Coalpit.IOdefanor2017-12-204-1/+101
|
* Prepare for IOdefanor2017-12-206-40/+18
| | | | | | DSV functions operate on individual lines now, unit type gets printed/parsed as nothing (handier for argument parsing to set '()' when there's none, and that's what it should be anyway).
* Reorganize the modulesdefanor2017-12-194-470/+486
|
* Adjust a test namedefanor2017-12-171-1/+1
|
* Add Coalpit.DSVdefanor2017-12-171-0/+65
|
* Fix a typo in a test namedefanor2017-12-171-1/+1
|
* Add DSV supportdefanor2017-12-175-54/+88
|
* Add the 'handleRecCon' functiondefanor2017-12-162-30/+25
| | | | Abstract the code with it.
* Add more instancesdefanor2017-12-163-2/+30
|
* Move parsing helpers into Coalpit.Parsingdefanor2017-12-163-106/+115
|
* Update documentationdefanor2017-12-161-5/+21
|
* Add more instancesdefanor2017-12-163-6/+157
| | | | Numeric and date/time types.
* Refactordefanor2017-12-164-325/+186
| | | | | - Unify the naming - Merge all the classes into one
* Generate usage strings for help messagesdefanor2017-12-163-3/+203
|
* Introduce the omitNamedOptions optiondefanor2017-12-044-70/+85
| | | | | It is nice to omit them, but may lead to ambiguity -- so better to provide a safer option.
* Add package descriptiondefanor2017-12-041-0/+5
|
* Produce prettier error messagesdefanor2017-12-041-20/+26
|
* Add an example into haddock documentationdefanor2017-12-041-0/+34
|
* Add source-repository and bug-reports into coalpit.cabaldefanor2017-12-041-0/+4
|
* Be more strict on record selector name parsingdefanor2017-12-043-12/+21
| | | | | Ambiguity is possible if the parser accepts those optionally, so it should accept them depending on the provided options.
* Make record selectors for mandatory arguments optionaldefanor2017-12-043-30/+55
|
* Add more instancesdefanor2017-12-034-25/+83
|
* Refactordefanor2017-12-034-42/+81
| | | | Add annotations, fix -Wall warnings, lint, etc.
* Use Travis CIdefanor2017-12-031-0/+10
|
* Update README and Example.hsdefanor2017-12-033-71/+60
|
* Add testsdefanor2017-12-035-8/+159
|
* Add List and Either instancesdefanor2017-12-032-4/+11
| | | | No special handling for those yet, just for testing.
* Parse lists of strings, not just stringsdefanor2017-12-032-24/+54
| | | | Because arguments are lists of strings.
* Add argument name modifiersdefanor2017-12-032-64/+103
|
* Omit constructor names, unless those are in sumsdefanor2017-12-032-12/+47
|
* Add special handling for named Maybe valuesdefanor2017-12-022-3/+22
| | | | Allow to omit named options.
* Use GHC.Generics instead of THdefanor2017-12-024-132/+124
| | | | | | It's considerably cleaner and simpler with GHC.Generics. Megaparsec is also used now.
* Initial commitdefanor2016-11-256-0/+232