Commit graph

40 commits

Author SHA1 Message Date
aa41e33ced Implement verse token, scaffold quote token 2026-02-08 14:52:16 -03:00
21a710658d Analyze necessity and effects of checked arithmetic 2026-01-21 16:52:54 -03:00
5151c53a2b Expand test coverage 2026-01-19 01:45:54 -03:00
874cac2df1 Implement log levels 2026-01-15 12:07:18 -03:00
db8c02df04 Break up 'types' module 2026-01-12 14:45:37 -03:00
3fa399c317 Make anchors aware of the nodes they point to 2026-01-11 08:15:02 -03:00
eb96b456ef Make anchor token fields private 2026-01-11 01:41:37 -03:00
5958f1551b Expand test coverage 2026-01-10 05:42:36 -03:00
3837af387a Implement nested formatting 2026-01-10 01:18:47 -03:00
c53afefb67 Add lexeme 'first' field, refactor and add methods 2026-01-09 21:52:17 -03:00
e42c67676d Implement nested lists 2026-01-09 21:52:17 -03:00
dfdc631600 Implement checkbox 2026-01-07 11:11:14 -03:00
b60151556e Lexeme: Add 'third' field, implement Default, simplify some methods 2026-01-07 10:56:27 -03:00
0d910634c6 Implement underline and strikethrough tokens 2026-01-06 23:10:33 -03:00
1faa0d5c3b Implement bold token 2026-01-06 18:55:26 -03:00
0ec784034a Implement list token 2026-01-06 18:51:53 -03:00
5a7557ba7d Handle Anchor edge cases involving punctuation 2026-01-05 19:39:56 -03:00
6b739d93c2 Replace all uses and implementations of new() with default() 2026-01-05 13:20:48 -03:00
de5b3dd377 Extract content parser state to its own module 2026-01-05 11:29:47 -03:00
735b58866c Make lexeme and token logging more concise 2026-01-05 11:10:50 -03:00
cb24837ff0 Fix unbalanced anchor tags 2026-01-05 00:51:52 -03:00
f9bff6acab Minor refactoring/formatting fixes 2026-01-03 16:01:56 -03:00
cbefcdcad7 Simplify Anchor context parser 2026-01-02 21:26:33 -03:00
21ab00b3eb Improve testing and handling of some Anchor edge cases 2026-01-02 14:34:08 -03:00
8d204503a8 Derive Debug and Clone for tokens and parser state 2026-01-02 14:30:36 -03:00
8ee0ad7977 Add Oblique token 2026-01-01 21:58:39 -03:00
a71a9f4224 Make Lexeme text field private, add last field 2026-01-01 21:58:34 -03:00
bb5dde6c2e Fix closing of EOF open preformat context 2026-01-01 21:51:41 -03:00
7300a29b67 Concentrate configuration content parsing in syntax::serial
Fixes some pages not having parsed input by making it much harder to
construct a config with unparsed text, which is something you basically
never want. The parsing now happens much earlier and consumers don't
need to remember to parse the configuration anymore.

Fixes a possible stack overflow due to parsing and configuration
depending on each other.

This commit also has dependencies updates and minor justfile tweaks.
2025-12-28 06:27:30 -03:00
de3713255b Fail CI on rustc warnings 2025-12-26 05:03:48 -03:00
e50bbd468d Add tests for the content syntax parser 2025-12-26 04:20:10 -03:00
6c026853e8 Fix forced flanking anchor destination resolution 2025-12-26 01:17:27 -03:00
78a3ef4a48 Fix anchors not applying destination resolution 2025-12-25 23:54:09 -03:00
95b437b3ac Expect a newline after PreFormat lexemes 2025-12-24 06:33:40 -03:00
6aa6b596f6 Let header IDs have their original case 2025-12-24 06:33:13 -03:00
8b782d6d20 Rework token segmentation 2025-12-23 21:53:56 -03:00
1f4a9faa75 Automatic header IDs 2025-12-21 14:50:42 -03:00
e3d5686c7b Simplify parser module structure, add several syntax elements 2025-12-20 21:25:06 -03:00
070b5b7448 Add short-form node anchors 2025-12-18 11:46:28 -03:00
198bc12507 Add word-level parsing 2025-12-18 11:35:08 -03:00