Commit Graph

5 Commits

Author SHA1 Message Date
Wolfsblvt
3c5277ded2 More nested macro tests
Add error case tests to enforce macro start position requirements
Include nested macro parsing scenarios and invalid syntax checks
Ensures parser correctly handles edge cases with embedded macros
2025-03-20 02:49:17 +01:00
Wolfsblvt
f9d4deb583 Improve macro argument parsing to allow colons in values
Enhances separator handling by fixing separator type detection and enabling colon characters within argument values
Updates validation to require at least one argument component and adds error cases for empty arguments
Includes expanded test coverage for mixed separator scenarios and edge cases
2025-03-20 02:25:07 +01:00
Wolfsblvt
efa367541a Parser consumes basic macros
- Fix lexer mode names
- Add basic macro parsing (identifier, and arguments)
- Tests: basic macro parsing tests
- Tests: simplifyCstNode supports ignoring nodes, or flattening nodes to just plaintext
2025-03-17 00:12:04 +01:00
Wolfsblvt
9a414b9915 Make parser errors testable 2024-08-12 06:13:12 +02:00
Wolfsblvt
559339d2de Basic setup for MacroParser + initial tests 2024-08-12 04:32:32 +02:00