Commit graph

10 commits

Author SHA1 Message Date
8d204503a8 Derive Debug and Clone for tokens and parser state 2026-01-02 14:30:36 -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
e50bbd468d Add tests for the content syntax parser 2025-12-26 04:20:10 -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
198bc12507 Add word-level parsing 2025-12-18 11:35:08 -03:00