Commit Graph

7 Commits

Author SHA1 Message Date
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
6a72369327 macros test case naming + lint 2025-03-08 01:26:15 +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
Wolfsblvt
58481a6382 fix ESLint types loading for chevrotain 2024-07-17 04:44:52 +02:00
Wolfsblvt
f63b875b76 First draft of the macro lexer 2024-07-16 01:24:03 +02:00