114c8cdb96
Remove hlint hard-coded version
2025-09-27 09:56:44 +02:00
e21f9712d5
Improved makefile, formatting
2025-09-27 09:56:44 +02:00
797eb1cb32
Try more steps
2025-09-27 09:56:44 +02:00
dafcd0f6ab
Split jobs
2025-09-27 09:56:44 +02:00
5d82d6ad0a
Update .forgejo/workflows/test.yaml
2025-09-27 09:56:11 +02:00
5ea8d9b57a
try again
2025-09-27 09:56:11 +02:00
46f7ef70e2
Fixed ci.yml
2025-09-27 09:56:11 +02:00
f464d65052
Updated ci
2025-09-27 09:56:11 +02:00
63760034cf
update ci action
2025-09-27 09:56:11 +02:00
f05c93a5a7
Run on docker
2025-09-27 09:56:11 +02:00
7a7bc4d882
Renamed file
2025-09-27 09:56:11 +02:00
3ff0b61851
New rules
2025-09-27 09:56:11 +02:00
c427f8c320
Updated ci.yml
2025-09-27 09:56:11 +02:00
986af3583c
Runner base config
2025-09-27 09:56:11 +02:00
d8ba47a8b6
Applied more formatting; added Makefile ( #4 )
...
Reviewed-on: #4
Co-authored-by: Igor Ranieri <igor@elland.me>
Co-committed-by: Igor Ranieri <igor@elland.me>
2025-09-27 07:51:09 +00:00
f4912d3339
Format with fourmolu ( #3 )
...
Add the formatting config (similar to default but with indent 2)
Reviewed-on: #3
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2025-09-26 14:52:34 +00:00
6064afd0b9
refactor lexer ( #2 )
...
Reduce manual usage of getPosition and setting it and improve some helper functions.
Reviewed-on: #2
Reviewed-by: elland <igor@elland.me>
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2025-09-26 14:44:46 +00:00
39cfe2035d
test: freeze the callstack for better failure messages ( #1 )
...
This would make the function `shouldLexTo` be transparent in the error reporting! Before all errors would point to this line.
Reviewed-on: #1
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2025-09-24 11:01:52 +00:00
00a6e11f67
Tokenise helper
2025-09-24 10:41:09 +02:00
7ae868932d
Add located combinator; improved anchor matches with tests
2025-09-24 10:13:16 +02:00
8887476626
Embed Anchor content inside token
2025-09-24 09:48:01 +02:00
82e1c76fe7
Added anchors
2025-09-21 21:21:26 +02:00
7c4603528d
Improved bare link parser
2025-09-21 21:15:44 +02:00
82dcb6913e
Parse links, module names
2025-09-21 21:00:05 +02:00
7d4cab4857
Adjusted others, labeled link
2025-09-21 13:30:01 +02:00
4ef8d2c28c
Check delimiters by hand to keep accurate source pos
2025-09-21 12:34:30 +02:00
7ef411b134
Added maths bracketing
2025-09-21 11:00:22 +02:00
9efc312597
Unicode with splits. Doesn't feel right.
2025-09-21 10:41:38 +02:00
e81f1ea4f7
Improved lexer funcs
2025-09-21 10:36:25 +02:00
f586b90434
Added minimal tests for bare lexer
2025-09-21 10:01:12 +02:00
c299af1c06
Hspec error for lexer
2025-09-21 09:54:45 +02:00
68f9b88c83
Basic lexer testing
2025-09-21 09:54:10 +02:00
4410e67590
Haddock 1 doesn't parse nested markup.
2025-09-21 09:37:06 +02:00
c9f61c4e06
Init
2025-09-21 08:19:01 +02:00