cbefcdcad7
Simplify Anchor context parser
2026-01-02 21:26:33 -03:00
48765de3b6
Drop needless "empty parse" check
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
f9ef9a56a1
Centralize definition of delimiters in the segment module
2026-01-02 14:33:25 -03:00
8d204503a8
Derive Debug and Clone for tokens and parser state
2026-01-02 14:30:36 -03:00
5ed2036e36
Extract context-specific parsing to a separate module
2026-01-02 00:53:42 -03:00
79c0ba9eed
Minor refactorings, justfile tweaks, roadmap update
2026-01-01 21:58:39 -03:00
bfd22bb6fa
Improve forced flanking node rendering
2026-01-01 21:58:39 -03:00
a09ddc35b9
Make content syntax segmentation less terse
2026-01-01 21:58:39 -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
da0ed3f2b3
Add closing function on content syntax parser
...
This provides saner, more testable, properly closed output even without
a trailing newline.
2025-12-26 01:18:38 -03:00
6c026853e8
Fix forced flanking anchor destination resolution
2025-12-26 01:17:27 -03:00
6d5f200e09
Add an empty file to mocks/no_graph so it exists in CI
2025-12-26 00:26:02 -03:00
e657eb6513
Add tests for all but the content syntax parser module
2025-12-25 23:57:22 -03:00
f48b2070bc
Minor refactorings, type adjustments and typo fixes
2025-12-25 23:56:18 -03:00
78a3ef4a48
Fix anchors not applying destination resolution
2025-12-25 23:54:09 -03:00
14dc84cc43
Reorganize module structure
2025-12-24 12:45:14 -03:00
51047ad11c
Fix and document some Anchor Syntax corner cases
2025-12-24 12:20:28 -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
6b34bb4531
Fix an anchor clustering corner case
2025-12-21 15:32:45 -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
d51b9a135e
Scaffold a second content parser pass
2025-12-17 00:16:44 -03:00
270fed54f0
Add configuration options
2025-12-16 19:02:36 -03:00
5d28a2e707
Make default element generic
2025-12-16 19:01:20 -03:00
f61fc4dd28
Fix redundant filter in content parser
2025-12-16 04:09:43 -03:00
984c8bcdcc
Heavy refactor and restructuring of content parser
2025-12-16 03:48:42 -03:00
15a9175afb
Add types to content lexer
2025-12-15 22:50:16 -03:00
2f247f477b
Add parser for node text with support for headers
2025-12-15 19:37:35 -03:00
d9a6938eb6
Add lib.rs, scaffold testing
2025-12-14 19:00:57 -03:00
294c15baa6
Fix argparsing error, path in file not found log, panic on invalid args
2025-12-14 15:26:49 -03:00
2040854e82
Handle CLI arguments as structured argument-parameter pairs
2025-12-14 15:09:21 -03:00