Commit Graph

65 Commits

Author SHA1 Message Date
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
Mesabloo
a074b865a7 diagnose: include JSON backend conditionnally (set a flag) 2022-01-02 10:37:13 +01:00
Mesabloo
90e54b58f0 stack: nix support 2022-01-02 10:34:45 +01:00
Mesabloo
3f898e7985
lib: set version to 1.3.0 2022-01-01 20:28:43 +01:00
Mesabloo
3b68aab572 *: switch from ansi-wl-pprint to prettyprinter 2022-01-01 19:31:14 +01:00
Mesabloo
6c1516ebb2 *: fix various warnings 2021-10-30 17:38:29 +02:00
Mesabloo
e2cbf2c3f5 report: show marker in the order they are added 2021-10-30 17:32:28 +02:00
Mesabloo
72bc14f629 report: change arrow to be more appealing 2021-09-26 21:09:30 +02:00
Mesabloo
e5e51fc489 diagnose: fix some warnings 2021-08-16 21:35:39 +02:00
Mesabloo
3e40dc5269 diagnose: switch ti version v1.2.0 2021-08-16 20:25:33 +02:00
Mesabloo
faeeabe34d diagnose: remove unneeded 'ToJSON' overlapping instances 2021-08-16 20:23:15 +02:00
Mesabloo
ffcb266e35 diagnose: quickly document how to use the library 2021-08-16 14:14:43 +02:00
Mesabloo
d1c9ae8077 diagnose: allow exporting a diagnostic as a JSON string 2021-08-16 00:00:54 +02:00
Mesabloo
4df5053c32 stack: pin dependencies versions 2021-08-15 22:45:14 +02:00
Mesabloo
d81c9d6e10 diagnose: create a simple to show-off the library 2021-08-15 20:52:52 +02:00
Mesabloo
402bb22274 diagnose: rewrite the whole library 2021-08-15 20:44:04 +02:00
Mesabloo
00de50a0d0 diagnose: remove everything 2021-08-12 20:16:25 +02:00
Mesabloo
76e2e88430 stack: bump to latest LTS 2021-08-12 20:14:09 +02:00
Mesabloo
c6223edb04 report: always show the file on a new line
This was not the case when the error message was small
2021-03-20 11:52:22 +01:00
Mesabloo
58d3c667ca report: show error on next line if marker is too long 2021-01-25 11:19:15 +01:00
Mesabloo
d6839dc8f9 diagnostic: store the max spanning width 2021-01-25 11:19:00 +01:00