Commit Graph

880 Commits (812957dca458e7bb4ad5120d03e6e3e82cf3eab8)

Author SHA1 Message Date
Lennart Spitzner ca42178eff Improve tuple layouting (also fixes #18 for tuples) 2017-05-02 16:21:13 +02:00
Lennart Spitzner f6324da600 Fix ExplicitList comment insertion (fixes #18) 2017-05-02 14:20:58 +02:00
Lennart Spitzner 26ffb40fb4 Fixup for config file generation
- fixes a silent bug; behaviour seems not to be affected.
2017-04-16 13:55:49 +02:00
Lennart Spitzner cbeab39b2d Fix comment/eof space handling (fixes #22) 2017-04-15 14:50:55 +02:00
Lennart Spitzner 505ad99f35 Handle InlineSig construct (pragma), fixes #20 2017-04-12 21:47:59 +02:00
Lennart Spitzner acbaba0782 Omit output syntax test for fix-point tests 2017-04-12 14:53:47 +02:00
Lennart Spitzner 14884be8df Minor fixups in docs plus some minor Refactoring 2017-04-12 14:31:53 +02:00
Lennart Spitzner 2dd6fe83f5 Add documentation and examples; Add debugging flag; Minor refactors 2017-03-30 22:47:00 +02:00
Lennart Spitzner 2b30d83fe8 Fix CPP/macro usage for MacOS; Fix minor stuff in .cabal 2017-03-27 16:18:14 +02:00
Lennart Spitzner aa2a8af6e1 Complete basic documentation of BriDoc api 2017-03-17 13:11:12 +01:00
Lennart Spitzner a7e4bdc168 Fix #16; Improve layouting in two cases; Add comments
- the #16 fix is a one-liner:
  Throw `nub` at spacings before pruning.
- Expr/OpApp layouting: Force single-line for children in
  the params-in-multiple-lines-right-of-the-function case.
- Expr/HsIf layouting: Insert a SetBaseY to prevent
  "then"/"else" being placed left of "if".
2017-03-16 23:02:11 +01:00
Lennart Spitzner 19a05d01c4 Add more documentation to BriDoc api 2017-03-08 17:33:56 +01:00
Lennart Spitzner 109163fc4d Remove traceShow statement
fixes #15
2017-03-08 14:55:02 +01:00
Lennart Spitzner 7dc6c525eb Fix minor layouting issue with long guards
(see test multiple-clauses-4)
2017-03-07 21:44:28 +01:00
Lennart Spitzner 00c7384d20 Fix config printing (config file generation) 2017-03-07 21:14:41 +01:00
Lennart Spitzner ed10137174 Add documentation around the BriDoc type/api 2017-03-06 20:49:08 +01:00
Lennart Spitzner cea81d5369 Add indentation to the paragraphs inserted in patterns
Ugly, but fixes #6. Ugly still better than non-valid-haskell result.
2017-03-06 16:56:38 +01:00
Lennart Spitzner 8d163eb099 Improve layouting for equations with multiple clauses
e.g.
func x | x         = simple expression
       | otherwise = 0

This fixes part of #7
2017-03-06 16:03:47 +01:00
Lennart Spitzner df422ffa5f Refactor/Cleanup layoutPatternBindFinal 2017-03-06 15:55:12 +01:00
Lennart Spitzner af38c547e5 Merge pull request #13 from lspitzner/stackage-lts-8.4
Upgrade to Stackage LTS 8.4
2017-03-06 15:33:54 +01:00
Taylor Fausak 2af4b32ce2 Upgrade to Stackage LTS 8.4 2017-03-06 08:21:17 -06:00
Lennart Spitzner bae75182d7 README.md: Fix mentioned config keys 2017-03-06 13:20:26 +01:00
Lennart Spitzner 71d7abc007 Fix config for idemtests (fixup for config setup change) 2017-03-06 12:51:37 +01:00
Lennart Spitzner 575d530188 Use ExactPrintFallback for unknown constructs
fixes #11
2017-03-06 12:45:19 +01:00
Lennart Spitzner 0a907c5594 Add some pending issues testcases 2017-03-01 22:04:41 +01:00
Lennart Spitzner 9421587da9 Merge pull request #8 from tuncer/directory-bound
Fix build by bumping directory upper bound
2017-02-28 00:26:19 +01:00
Tuncer Ayaz 94e0ab1d5a Fix build by bumping directory upper bound 2017-02-11 22:45:39 +01:00
Lennart Spitzner 93611b9a1c Apply brittany 2017-01-31 18:44:39 +01:00
Lennart Spitzner bc70eb07e8 Change config setup(!), Refactor, Update deps
- config now uses foo_bar instead of _foo_bar;
- config now will accept missing keys;
- use latest butcher version;
- improve identity testing by moving into separate file.
2017-01-31 18:43:16 +01:00
Lennart Spitzner 508780466c Adapt for butcher-0.2.0.0 2016-10-01 19:06:55 +02:00
Lennart Spitzner 23936d7522 Write ChangeLog.md 2016-09-06 15:55:42 +02:00
Lennart Spitzner eda83416b4 Bump to 0.7.1.0 2016-09-06 15:29:13 +02:00
Lennart Spitzner 3ba7354336 stack.yaml: Change urls from git@ to https:// 2016-09-06 15:29:13 +02:00
Lennart Spitzner 1b7576dcd1 Fix --ghc-options handling 2016-09-06 15:29:13 +02:00
Lennart Spitzner 65fee7694d Add commandline param for input (without --input) 2016-09-06 15:29:13 +02:00
Lennart Spitzner 9f1215b2ed stack.yaml: Update butcher dependency SHA1 2016-09-06 15:29:13 +02:00
Lennart Spitzner b5f4f077ea Update README.md: building via stack 2016-09-05 00:09:24 +02:00
Lennart Spitzner 2b2fdb176f Merge pull request #3 from tfausak/patch-1
Build with Stack
2016-09-04 22:46:22 +02:00
Lennart Spitzner e83b4c94db Showcase.md: Update to hindent-5.2.1 results; Add haskell-formatter output 2016-09-04 22:20:49 +02:00
Taylor Fausak 66b0836220 Build with Stack 2016-09-04 14:50:58 -05:00
Lennart Spitzner eead525c16 Bump to 0.7.0.0 2016-09-04 14:24:19 +02:00
Lennart Spitzner 94651934b4 Update --help output 2016-09-04 14:24:19 +02:00
Lennart Spitzner 7792cd77bf Minor fixes to brittany.cabal 2016-09-04 14:24:19 +02:00
Lennart Spitzner cb93a6903c Fix horizontal alignment issue; Add testcases 2016-09-04 14:24:19 +02:00
Lennart Spitzner a29836d09c Refactor module structure; Clean up imports 2016-09-04 00:24:20 +02:00
Lennart Spitzner 9d4192df00 Add another TODO testcase 2016-09-03 23:02:49 +02:00
Lennart Spitzner b03996e401 Apply brittany on parts of its source; Add comments 2016-09-03 23:02:32 +02:00
Lennart Spitzner 3809ba9ef0 Fix some type sig layouting minor issue 2016-09-03 21:50:31 +02:00
Lennart Spitzner d6cf33c3e0 Add testcase for not-yet-fixed pattern problem 2016-09-03 21:36:06 +02:00
Lennart Spitzner 48b2057d84 Improve horizontal alignments significantly (patterns) 2016-09-03 21:32:18 +02:00