summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-28Expose 'escape' and parsing helpersHEADmasterdefanor
2024-01-27Rewrite, version 0.2: use Parsec, focus on DSVdefanor
2019-03-19Handle types with more than 3 constructorsdefanor
Particularly ((a :+: b) :+: (c :+: d)) combinations.
2019-03-08Fix Test.hsdefanor
Newer Generic.Random exports Options, which interferes with Coalpit.Options.
2019-03-08Edit descriptionsdefanor
2018-01-03Prepare for a Hackage releasedefanor
Increase version to 0.1.1.0, update years and ChangeLog, don't call it a prototype. Further breaking changes should increase versions accordingly.
2018-01-02Fix a typodefanor
2018-01-02Test with GHC 8.2.2defanor
2017-12-24Document the 'Usage' type.defanor
2017-12-24Introduce 'Usage' structure.defanor
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.
2017-12-24Update the exampledefanor
2017-12-20Remove Coalpit.IOdefanor
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.
2017-12-20Cleanup Coalpit.IOdefanor
Remove 'pipe', 'producer', and 'consumer' functions: they don't seem to be very useful, and are quite limiting.
2017-12-20Add Coalpit.IOdefanor
2017-12-20Prepare for IOdefanor
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).
2017-12-19Reorganize the modulesdefanor
2017-12-17Adjust a test namedefanor
2017-12-17Add Coalpit.DSVdefanor
2017-12-17Fix a typo in a test namedefanor
2017-12-17Add DSV supportdefanor
2017-12-16Add the 'handleRecCon' functiondefanor
Abstract the code with it.
2017-12-16Add more instancesdefanor
2017-12-16Move parsing helpers into Coalpit.Parsingdefanor
2017-12-16Update documentationdefanor
2017-12-16Add more instancesdefanor
Numeric and date/time types.
2017-12-16Refactordefanor
- Unify the naming - Merge all the classes into one
2017-12-16Generate usage strings for help messagesdefanor
2017-12-04Introduce the omitNamedOptions optiondefanor
It is nice to omit them, but may lead to ambiguity -- so better to provide a safer option.
2017-12-04Add package descriptiondefanor
2017-12-04Produce prettier error messagesdefanor
2017-12-04Add an example into haddock documentationdefanor
2017-12-04Add source-repository and bug-reports into coalpit.cabaldefanor
2017-12-04Be more strict on record selector name parsingdefanor
Ambiguity is possible if the parser accepts those optionally, so it should accept them depending on the provided options.
2017-12-04Make record selectors for mandatory arguments optionaldefanor
2017-12-03Add more instancesdefanor
2017-12-03Refactordefanor
Add annotations, fix -Wall warnings, lint, etc.
2017-12-03Use Travis CIdefanor
2017-12-03Update README and Example.hsdefanor
2017-12-03Add testsdefanor
2017-12-03Add List and Either instancesdefanor
No special handling for those yet, just for testing.
2017-12-03Parse lists of strings, not just stringsdefanor
Because arguments are lists of strings.
2017-12-03Add argument name modifiersdefanor
2017-12-03Omit constructor names, unless those are in sumsdefanor
2017-12-02Add special handling for named Maybe valuesdefanor
Allow to omit named options.
2017-12-02Use GHC.Generics instead of THdefanor
It's considerably cleaner and simpler with GHC.Generics. Megaparsec is also used now.
2016-11-25Initial commitdefanor