Commit Graph

26 Commits

Author SHA1 Message Date
Luc Tielen
2ac7dd331b Fix deprecation warnings in test suite 2022-08-14 15:07:47 +02:00
Mesabloo
7650b2d020 create new tests 2022-07-23 09:55:58 +02:00
Mesabloo
87de51ac93 allow inserting invisible markers 2022-07-23 09:53:32 +02:00
Mesabloo
c8f855325c show 'end of line' token when converting from parsec error 2022-07-15 09:24:37 +02:00
Mesabloo
5042217e58 allow distinguishing between notes and hints at the bottom of a report 2022-06-26 14:20:21 +02:00
Mesabloo
17d1e026b5 first try handling multiline text marker messages 2022-06-26 10:58:49 +02:00
Mesabloo
e777f6bb68 introduce styles 2022-05-03 12:21:05 +02:00
Mesabloo
8f17e4caec change tests to accomodate for #6 2022-05-03 11:29:43 +02:00
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