Commit Graph

18 Commits

Author SHA1 Message Date
Mesabloo
4528b2182a output multiline markers at end of line
This prevent multiline markers from being disconnected and output at the bottom, plus it looks better
2022-04-29 23:13:05 +02:00
Mesabloo
de9486783e color lines in between bounds of multiline markers 2022-04-29 16:02:05 +02:00
Mesabloo
328ef398e7 update documentation for TAB size 2022-04-27 00:26:12 +02:00
Mesabloo
cadfd11a28 add support for tabs 2022-04-26 23:28:01 +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
256a331ce5 support custom optional error/warning codes in reports 2022-04-22 21:45:14 +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
e898e06ba7 parsec: create compatibility layer 2022-01-02 16:50:26 +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
97c3235bec megaparsec: test compabitility layer 2022-01-02 13:58:07 +01:00
Mesabloo
a074b865a7 diagnose: include JSON backend conditionnally (set a flag) 2022-01-02 10:37:13 +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
d1c9ae8077 diagnose: allow exporting a diagnostic as a JSON string 2021-08-16 00:00:54 +02:00
Mesabloo
402bb22274 diagnose: rewrite the whole library 2021-08-15 20:44:04 +02:00