Commit Graph

85 Commits

Author SHA1 Message Date
Mesabloo
4bf231c4ed put dependency on 'text' only in tests 2022-04-29 22:27:33 +02:00
Mesabloo
de9486783e color lines in between bounds of multiline markers 2022-04-29 16:02:05 +02:00
Mesabloo
a555301e4e fix wrong position inserted at top of report
This should have been the position of the first 'This' marker
2022-04-27 08:38:34 +02:00
Mesabloo
a9b5b73c8e insert correct version bounds for 'wcwidth' 2022-04-27 00:32:13 +02:00
Mesabloo
9bf1277414 update feature list 2022-04-27 00:28:02 +02:00
Mesabloo
328ef398e7 update documentation for TAB size 2022-04-27 00:26:12 +02:00
Mesabloo
e75195cbb8 handle variable width characters using wcwidth 2022-04-26 23:58:43 +02:00
Mesabloo
cadfd11a28 add support for tabs 2022-04-26 23:28:01 +02:00
Mesabloo
a8d77f4b79 switch to latest GHC 8.10.7 LTS 2022-04-26 15:09:41 +02:00
Mesabloo
baf3c56ff8 remove empty expected messages 2022-04-23 05:11:10 +02:00
Mesabloo
488c3a6a4d remove duplicate unexpected messages with parsec
This fixes issue #2, where unexpected markers have been found to be duplicated
2022-04-23 05:09:36 +02:00
Mesabloo
eb980bd51c fix documentation for parsing libraries compatibility layers 2022-04-22 22:04:39 +02:00
Mesabloo
256a331ce5 support custom optional error/warning codes in reports 2022-04-22 21:45:14 +02:00
Mesabloo
020f6d7a8a insert feature in TODO list 2022-04-22 20:08:21 +02:00
Mesabloo
eac70e6c58 insert TODO list at end of README 2022-04-22 12:33:39 +02:00
Mesabloo
a00e605e6c improve documentation
As per #1, the term 'columns' has been specified to refer to a unicode codepoint count
2022-04-22 12:24:51 +02:00
Mesabloo
a1e45dcf61 review package.yaml 2022-04-21 21:18:52 +02:00
Mesabloo
4bdfde9dae fix warnings from 'cabal check' 2022-04-21 20:31:35 +02:00
Mesabloo
34e028de59 switch to v1.6.3 2022-04-21 20:01:54 +02:00
Mesabloo
21a3c67660 reformat all files 2022-04-21 20:01:21 +02:00
Mesabloo
ecdbed4a2d fix example in README 2022-04-21 19:36:50 +02:00
Mesabloo
8316869b45 add example to README 2022-04-21 19:35:53 +02:00
Mesabloo
d003df5782 include quick description in package.yaml 2022-04-21 19:27:13 +02:00
Mesabloo
6db53b7020 rewrite README file 2022-04-21 19:19:16 +02:00
Mesabloo
f61525c32a add dot prefix when no markers but some hints 2022-04-21 14:20:17 +02:00
Mesabloo
7c5f45d25b remove end bar when there are no markers and hints 2022-04-21 14:16:53 +02:00
Mesabloo
e2f00e9473 publish version 1.6.0 2022-04-21 12:08:51 +02:00
Mesabloo
79020a3b30 correctly output reports with multiple files 2022-04-21 12:00:41 +02:00
Mesabloo
26f5639dc5 report: fix outputting line with no marker in span of multiline marker 2022-01-19 16:21:48 +01:00
Mesabloo
b9ab7180e5 report: fix alignment when rendering multiline markers after inline ones 2022-01-19 16:09:35 +01:00
Mesabloo
973dcd8d28 report: create Semigroup & Monoid instances 2022-01-19 10:18:29 +01:00
Mesabloo
63bec43b9c pretty: re-export Prettyprinter 2022-01-19 09:14:57 +01:00
Mesabloo
3be8f121e8 pretty: re-export prettyprinting combinators 2022-01-19 08:56:54 +01:00
Mesabloo
11ea54abb5 pretty: re-export Prettyprinter in a special module 2022-01-19 08:37:56 +01:00
Mesabloo
28943491a2 diagnose: switch to version v1.5.0 2022-01-02 17:08:03 +01:00
Mesabloo
6577b3e2b5 doc: document compatibility layer for parsec 2022-01-02 17:07:23 +01:00
Mesabloo
3ef417a6e4 hie: add additional test component 2022-01-02 17:07:04 +01:00
Mesabloo
e898e06ba7 parsec: create compatibility layer 2022-01-02 16:50:26 +01:00
Mesabloo
04b9499612 doc: document usage of the megaparsec compatibility layer 2022-01-02 15:23:43 +01:00
Mesabloo
cbf4c19136 *: fix documentation 2022-01-02 14:47:59 +01:00
Mesabloo
d4b227bdc9 diagnose: switch to version v1.4.2 2022-01-02 14:35:24 +01:00
Mesabloo
eaf7decfcd test: remove unused import 2022-01-02 14:34:53 +01:00
Mesabloo
72626a9804 megaparsec: re-export needed modules in compatibility layer directly 2022-01-02 14:34:36 +01:00
Mesabloo
7035713161 hie: add additional test component 2022-01-02 14:32:51 +01:00
Mesabloo
cc084a31be diagnose: switch to version v1.4.1 2022-01-02 14:20:21 +01:00
Mesabloo
e244ec5b0a reports: fix ordering when choosing marker color 2022-01-02 14:19:56 +01:00
Mesabloo
d6c9242102 diagnose: switch to version v1.4.0 2022-01-02 13:59:55 +01:00
Mesabloo
97c3235bec megaparsec: test compabitility layer 2022-01-02 13:58:07 +01:00
Mesabloo
3937e63775 megaparsec: improve compatibility layer by providing more wrappers 2022-01-02 13:05:45 +01:00
Mesabloo
dfcaa689e9 diagnose: create a megaparsec v9 compatibility layer 2022-01-02 12:25:21 +01:00